Index: third_party/WebKit/Source/core/dom/DOMTypedArray.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMTypedArray.cpp b/third_party/WebKit/Source/core/dom/DOMTypedArray.cpp |
index 676fe8d9d89510950de0e007051977ec41759432..3e699ad86e99baf9e195e9832dcd76cc61e561b1 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMTypedArray.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMTypedArray.cpp |
@@ -30,7 +30,7 @@ v8::Local<v8::Object> DOMTypedArray<WTFTypedArray, V8TypedArray>::wrap(v8::Isola |
ASSERT(!DOMDataStore::containsWrapper(this, isolate)); |
const WrapperTypeInfo* wrapperTypeInfo = this->wrapperTypeInfo(); |
- RefPtr<DOMArrayBufferBase> buffer = this->bufferBase(); |
+ RefPtr<DOMArrayBufferBase> buffer = this->bufferBaseOrNull(); |
v8::Local<v8::Value> v8Buffer = toV8(buffer.get(), creationContext, isolate); |
if (v8Buffer.IsEmpty()) |
return v8::Local<v8::Object>(); |