Index: third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
index a9ad662507dbfac18b857ee15742b68d7406c25f..5e0fe22c7bb8973b67e5fbae7c7816215e6d5e3b 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBuffer.cpp |
@@ -56,7 +56,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(), WTF::ArrayBufferContents::NotShared); |
+ WTF::ArrayBufferContents contents(v8Contents.Data(), v8Contents.ByteLength(), WTF::ArrayBufferContents::NotShared, WTF::ArrayBufferContents::CrashIfOutOfMemory_DEPRECATED); |
RefPtr<TestArrayBuffer> buffer = TestArrayBuffer::create(contents); |
v8::Local<v8::Object> associatedWrapper = buffer->associateWithWrapper(v8::Isolate::GetCurrent(), buffer->wrapperTypeInfo(), object); |
ASSERT_UNUSED(associatedWrapper, associatedWrapper == object); |