Index: Source/core/html/canvas/DataView.cpp |
diff --git a/Source/core/html/canvas/DataView.cpp b/Source/core/html/canvas/DataView.cpp |
index 704dd9f2020f799ba3747bc6550034124f696376..c0a18ea3b126660504dde623c23168bad388b546 100644 |
--- a/Source/core/html/canvas/DataView.cpp |
+++ b/Source/core/html/canvas/DataView.cpp |
@@ -27,6 +27,8 @@ |
#include "core/html/canvas/DataView.h" |
#include "bindings/core/v8/ExceptionState.h" |
+#include "bindings/core/v8/custom/V8DataViewCustom.h" |
+#include "bindings/core/v8/custom/V8TypedArrayCustom.h" |
#include "core/dom/ExceptionCode.h" |
#include "platform/CheckedInt.h" |
#include "wtf/CPU.h" |
@@ -239,10 +241,15 @@ void DataView::setFloat64(unsigned byteOffset, double value, bool littleEndian, |
setData<double>(byteOffset, value, littleEndian, exceptionState); |
} |
+v8::Handle<v8::Object> DataView::wrap(v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+{ |
+ return V8TypedArray<DataView>::wrap(this, creationContext, isolate); |
+} |
+ |
void DataView::neuter() |
{ |
ArrayBufferView::neuter(); |
m_byteLength = 0; |
} |
-} |
+} // namespace blink |