Index: third_party/WebKit/Source/core/dom/DOMDataView.cpp |
diff --git a/third_party/WebKit/Source/core/dom/DOMDataView.cpp b/third_party/WebKit/Source/core/dom/DOMDataView.cpp |
index a02e3a8db2b2ec29505d4b67f3294bb278ba0eca..0e5e2e0a259f9527e674b911239086eb40587efa 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMDataView.cpp |
+++ b/third_party/WebKit/Source/core/dom/DOMDataView.cpp |
@@ -64,7 +64,7 @@ v8::Local<v8::Object> DOMDataView::wrap(v8::Isolate* isolate, v8::Local<v8::Obje |
ASSERT(!DOMDataStore::containsWrapper(this, isolate)); |
const WrapperTypeInfo* wrapperTypeInfo = this->wrapperTypeInfo(); |
- v8::Local<v8::Value> v8Buffer = toV8(buffer(), creationContext, isolate); |
+ v8::Local<v8::Value> v8Buffer = toV8(bufferOrNull(), creationContext, isolate); |
if (v8Buffer.IsEmpty()) |
return v8::Local<v8::Object>(); |
ASSERT(v8Buffer->IsArrayBuffer()); |