Index: Source/bindings/tests/results/V8TestException.cpp |
diff --git a/Source/bindings/tests/results/V8TestException.cpp b/Source/bindings/tests/results/V8TestException.cpp |
index e8f6add82088e4ce4b357e10fe5a0620870f7e2e..bc9c57bd5cd02b322462abc60b6ce5bcae27493c 100644 |
--- a/Source/bindings/tests/results/V8TestException.cpp |
+++ b/Source/bindings/tests/results/V8TestException.cpp |
@@ -132,7 +132,7 @@ v8::Handle<v8::Object> V8TestException::findInstanceInPrototypeChain(v8::Handle< |
TestException* V8TestException::toNativeWithTypeCheck(v8::Isolate* isolate, v8::Handle<v8::Value> value) |
{ |
- return hasInstance(value, isolate) ? fromInternalPointer(v8::Handle<v8::Object>::Cast(value)->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)) : 0; |
+ return hasInstance(value, isolate) ? fromInternalPointer(blink::toInternalPointer(v8::Handle<v8::Object>::Cast(value))) : 0; |
} |
v8::Handle<v8::Object> wrap(TestException* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
@@ -162,9 +162,9 @@ v8::Handle<v8::Object> V8TestException::createWrapper(PassRefPtr<TestException> |
return wrapper; |
} |
-void V8TestException::derefObject(void* object) |
+void V8TestException::derefObject(ScriptWrappableBase* internalPointer) |
{ |
- fromInternalPointer(object)->deref(); |
+ fromInternalPointer(internalPointer)->deref(); |
} |
template<> |