Index: Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
index 55772bf232bbd1760bcac2c47b5c638ef62dc9a1..b7619d39d867ffcab251f129d4d60d31a4632940 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceImplementedAs.cpp |
@@ -229,18 +229,18 @@ bool V8TestInterfaceImplementedAs::HasInstanceInAnyWorld(v8::Handle<v8::Value> v |
v8::Handle<v8::Object> V8TestInterfaceImplementedAs::createWrapper(PassRefPtr<RealClass> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl.get()); |
- ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
+ ASSERT(DOMDataStore::getWrapper<V8TestInterfaceImplementedAs>(impl.get(), isolate).IsEmpty()); |
- v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &info, impl.get(), isolate); |
+ v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, &info, toInternalPointer(impl.get()), isolate); |
if (UNLIKELY(wrapper.IsEmpty())) |
return wrapper; |
installPerContextProperties(wrapper, impl.get(), isolate); |
- V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
+ V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceImplementedAs>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
return wrapper; |
} |
void V8TestInterfaceImplementedAs::derefObject(void* object) |
{ |
- static_cast<RealClass*>(object)->deref(); |
+ fromInternalPointer(object)->deref(); |
} |
} // namespace WebCore |