| Index: Source/bindings/tests/results/V8TestInterfaceDocument.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceDocument.cpp b/Source/bindings/tests/results/V8TestInterfaceDocument.cpp
|
| index 5370f123dbae27b8eaa5438991f570b007627fb4..6bb94125005564a5555ee44f1e8f49a9150dbc70 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceDocument.cpp
|
| +++ b/Source/bindings/tests/results/V8TestInterfaceDocument.cpp
|
| @@ -82,35 +82,35 @@ v8::Handle<v8::Object> V8TestInterfaceDocument::findInstanceInPrototypeChain(v8:
|
| return V8PerIsolateData::from(isolate)->findInstanceInPrototypeChain(&wrapperTypeInfo, v8Value);
|
| }
|
|
|
| -TestInterfaceDocument* V8TestInterfaceDocument::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value)
|
| +TestInterfaceDocument* V8TestInterfaceDocument::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<TestInterfaceDocument>() : 0;
|
| }
|
|
|
| EventTarget* V8TestInterfaceDocument::toEventTarget(v8::Handle<v8::Object> object)
|
| {
|
| - return toNative(object);
|
| + return toImpl(object);
|
| }
|
|
|
|
|
| void V8TestInterfaceDocument::refObject(ScriptWrappableBase* internalPointer)
|
| {
|
| #if !ENABLE(OILPAN)
|
| - fromInternalPointer(internalPointer)->ref();
|
| + internalPointer->toImpl<TestInterfaceDocument>()->ref();
|
| #endif
|
| }
|
|
|
| void V8TestInterfaceDocument::derefObject(ScriptWrappableBase* internalPointer)
|
| {
|
| #if !ENABLE(OILPAN)
|
| - fromInternalPointer(internalPointer)->deref();
|
| + internalPointer->toImpl<TestInterfaceDocument>()->deref();
|
| #endif
|
| }
|
|
|
| WrapperPersistentNode* V8TestInterfaceDocument::createPersistentHandle(ScriptWrappableBase* internalPointer)
|
| {
|
| #if ENABLE(OILPAN)
|
| - return new WrapperPersistent<TestInterfaceDocument>(fromInternalPointer(internalPointer));
|
| + return new WrapperPersistent<TestInterfaceDocument>(internalPointer->toImpl<TestInterfaceDocument>());
|
| #else
|
| ASSERT_NOT_REACHED();
|
| return 0;
|
|
|