summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/v8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/v8.js b/lib/v8.js
index ed93b094ca..0d9ffc6033 100644
--- a/lib/v8.js
+++ b/lib/v8.js
@@ -143,7 +143,7 @@ const arrayBufferViewTypeToIndex = new Map();
}
}
-const bufferConstructorIndex = arrayBufferViewTypes.push(Buffer) - 1;
+const bufferConstructorIndex = arrayBufferViewTypes.push(FastBuffer) - 1;
class DefaultSerializer extends Serializer {
constructor() {