Index: Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp |
diff --git a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp |
index 1ee3c245c4aef8f09f2b655c441e99e2e7ebc21b..716b591908156feb8b7b2b5811dfd6480d0fd4cd 100644 |
--- a/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp |
+++ b/Source/bindings/tests/results/V8TestSerializedScriptValueInterface.cpp |
@@ -219,18 +219,18 @@ bool V8TestSerializedScriptValueInterface::HasInstanceInAnyWorld(v8::Handle<v8:: |
v8::Handle<v8::Object> V8TestSerializedScriptValueInterface::createWrapper(PassRefPtr<TestSerializedScriptValueInterface> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl.get()); |
- ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
+ ASSERT(DOMDataStore::getWrapper<V8TestSerializedScriptValueInterface>(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, toWrappedType(impl.get()), isolate); |
if (UNLIKELY(wrapper.IsEmpty())) |
return wrapper; |
installPerContextProperties(wrapper, impl.get(), isolate); |
- V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
+ V8DOMWrapper::associateObjectWithWrapper<V8TestSerializedScriptValueInterface>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
return wrapper; |
} |
void V8TestSerializedScriptValueInterface::derefObject(void* object) |
{ |
- static_cast<TestSerializedScriptValueInterface*>(object)->deref(); |
+ fromWrappedType(object)->deref(); |
} |
} // namespace WebCore |