Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(236)

Unified Diff: Source/bindings/core/v8/custom/V8DataViewCustom.cpp

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/ScriptWrappable.cpp ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/custom/V8DataViewCustom.cpp
diff --git a/Source/bindings/core/v8/custom/V8DataViewCustom.cpp b/Source/bindings/core/v8/custom/V8DataViewCustom.cpp
index c27d05b1729d9ef1b575e3d0f7d43b97e9245b4b..98510a1411a4aecb6d46ffce1081607864b843e4 100644
--- a/Source/bindings/core/v8/custom/V8DataViewCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8DataViewCustom.cpp
@@ -28,10 +28,13 @@
#include "bindings/core/v8/V8Binding.h"
#include "bindings/core/v8/custom/V8ArrayBufferViewCustom.h"
+#include "bindings/core/v8/custom/V8TypedArrayCustom.h"
#include "core/html/canvas/DataView.h"
namespace blink {
+const WrapperTypeInfo& DataView::s_wrapperTypeInfo = V8TypedArray<DataView>::wrapperTypeInfo;
+
static void initializeScriptWrappableForInterface(DataView* object)
{
if (ScriptWrappable::wrapperCanBeStoredInObject(object))
« no previous file with comments | « Source/bindings/core/v8/ScriptWrappable.cpp ('k') | Source/bindings/templates/interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698