Index: Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
index 2f0c9d4d50564cc764969623bf9b486f57702fdf..004f615f92733fa7adaad50b3551da421201747e 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp |
@@ -98,20 +98,20 @@ v8::Handle<v8::Object> V8TestInterfaceCustomConstructor::findInstanceInPrototype |
return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value); |
} |
-TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
+TestInterfaceCustomConstructor* V8TestInterfaceCustomConstructor::toImplWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
{ |
- return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPointer(v8::Handle<v8::Object>::Cast(value))) : 0; |
+ return hasInstance(value, isolate) ? blink::toScriptWrappableBase(v8::Handle<v8::Object>::Cast(value))->toImpl<TestInterfaceCustomConstructor>() : 0; |
} |
void V8TestInterfaceCustomConstructor::refObject(ScriptWrappableBase* internalPointer) |
{ |
- fromInternalPointer(internalPointer)->ref(); |
+ internalPointer->toImpl<TestInterfaceCustomConstructor>()->ref(); |
} |
void V8TestInterfaceCustomConstructor::derefObject(ScriptWrappableBase* internalPointer) |
{ |
- fromInternalPointer(internalPointer)->deref(); |
+ internalPointer->toImpl<TestInterfaceCustomConstructor>()->deref(); |
} |
WrapperPersistentNode* V8TestInterfaceCustomConstructor::createPersistentHandle(ScriptWrappableBase* internalPointer) |