Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index 6b71fdb51c8071f36a4ddc602336a223ce3c0ef3..67da8c9e5c56a7694538a2ebee8a68f3d388095b 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -725,7 +725,7 @@ v8::Local<v8::Object> {{v8_class}}::findInstanceInPrototypeChain(v8::Local<v8::V |
// Transfer the ownership of the allocated memory to an ArrayBuffer without |
// copying. |
v8::ArrayBuffer::Contents v8Contents = v8buffer->Externalize(); |
- WTF::ArrayBufferContents contents(v8Contents.Data(), v8Contents.ByteLength()); |
+ WTF::ArrayBufferContents contents(v8Contents.Data(), v8Contents.ByteLength(), WTF::ArrayBufferContents::NotShared); |
RefPtr<{{cpp_class}}> buffer = {{cpp_class}}::create(contents); |
buffer->associateWithWrapper(v8::Isolate::GetCurrent(), buffer->wrapperTypeInfo(), object); |