Index: third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp |
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp b/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp |
index dad4a7f2da0399df74a2e1becdc5116b6bc1255a..395989cff761ca78081d1d64a677c7f0d3998f9f 100644 |
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp |
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8ArrayBufferView.cpp |
@@ -34,7 +34,7 @@ |
#pragma clang diagnostic push |
#pragma clang diagnostic ignored "-Wglobal-constructors" |
#endif |
-const WrapperTypeInfo V8ArrayBufferView::wrapperTypeInfo = { gin::kEmbedderBlink, 0, V8ArrayBufferView::refObject, V8ArrayBufferView::derefObject, V8ArrayBufferView::trace, 0, 0, V8ArrayBufferView::preparePrototypeAndInterfaceObject, V8ArrayBufferView::installConditionallyEnabledProperties, "ArrayBufferView", 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::GarbageCollectedObject }; |
+const WrapperTypeInfo V8ArrayBufferView::wrapperTypeInfo = { gin::kEmbedderBlink, 0, V8ArrayBufferView::refObject, V8ArrayBufferView::derefObject, V8ArrayBufferView::trace, 0, 0, V8ArrayBufferView::preparePrototypeAndInterfaceObject, V8ArrayBufferView::installConditionallyEnabledProperties, "ArrayBufferView", 0, WrapperTypeInfo::WrapperTypeObjectPrototype, WrapperTypeInfo::ObjectClassId, WrapperTypeInfo::NotInheritFromEventTarget, WrapperTypeInfo::Independent, WrapperTypeInfo::RefCountedObject }; |
#if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
#pragma clang diagnostic pop |
#endif |
@@ -88,10 +88,12 @@ |
void V8ArrayBufferView::refObject(ScriptWrappable* scriptWrappable) |
{ |
+ scriptWrappable->toImpl<TestArrayBufferView>()->ref(); |
} |
void V8ArrayBufferView::derefObject(ScriptWrappable* scriptWrappable) |
{ |
+ scriptWrappable->toImpl<TestArrayBufferView>()->deref(); |
} |
} // namespace blink |