Index: Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
diff --git a/Source/bindings/tests/results/core/V8ArrayBuffer.cpp b/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
index 4157aa78361040027a6c24f2324f3b7a2447925a..547122c4e82a9a62e6b613c8168d829f4bf80453 100644 |
--- a/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
+++ b/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
@@ -11,6 +11,7 @@ |
#include "bindings/core/v8/V8ArrayBuffer.h" |
#include "bindings/core/v8/V8DOMConfiguration.h" |
#include "bindings/core/v8/V8ObjectConstructor.h" |
+#include "bindings/core/v8/V8SharedArrayBuffer.h" |
haraken
2015/06/11 05:59:28
This won't be needed.
|
#include "core/dom/ContextFeatures.h" |
#include "core/dom/DOMArrayBufferDeallocationObserver.h" |
#include "core/dom/Document.h" |
@@ -47,7 +48,7 @@ TestArrayBuffer* V8ArrayBuffer::toImpl(v8::Local<v8::Object> object) |
// 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(), 0); |
+ WTF::ArrayBufferContents contents(v8Contents.Data(), v8Contents.ByteLength(), WTF::ArrayBufferContents::NotShared, 0); |
RefPtr<TestArrayBuffer> buffer = TestArrayBuffer::create(contents); |
// Since this transfer doesn't allocate new memory, do not call |
// DOMArrayBufferDeallocationObserver::blinkAllocatedMemory. |