Index: Source/bindings/tests/results/V8TestActiveDOMObject.cpp |
diff --git a/Source/bindings/tests/results/V8TestActiveDOMObject.cpp b/Source/bindings/tests/results/V8TestActiveDOMObject.cpp |
index 2e1efcc005dbb37035cdcca014b3447541178b24..0921d7a8340e3f8fb1e3150a9a013de695cea1d7 100644 |
--- a/Source/bindings/tests/results/V8TestActiveDOMObject.cpp |
+++ b/Source/bindings/tests/results/V8TestActiveDOMObject.cpp |
@@ -249,18 +249,18 @@ bool V8TestActiveDOMObject::HasInstanceInAnyWorld(v8::Handle<v8::Value> value, v |
v8::Handle<v8::Object> V8TestActiveDOMObject::createWrapper(PassRefPtr<TestActiveDOMObject> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl.get()); |
- ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
+ ASSERT(DOMDataStore::getWrapper<V8TestActiveDOMObject>(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<V8TestActiveDOMObject>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
return wrapper; |
} |
void V8TestActiveDOMObject::derefObject(void* object) |
{ |
- static_cast<TestActiveDOMObject*>(object)->deref(); |
+ fromInternalPointer(object)->deref(); |
} |
} // namespace WebCore |