Index: Source/bindings/tests/results/V8TestEventConstructor.cpp |
diff --git a/Source/bindings/tests/results/V8TestEventConstructor.cpp b/Source/bindings/tests/results/V8TestEventConstructor.cpp |
index cfa4a1498bb1dd7fc5eb23530102004639096ede..0fbf161aa1b223986659f1c68cd265e0bba7c14d 100644 |
--- a/Source/bindings/tests/results/V8TestEventConstructor.cpp |
+++ b/Source/bindings/tests/results/V8TestEventConstructor.cpp |
@@ -108,7 +108,7 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& args) |
RefPtr<TestEventConstructor> event = TestEventConstructor::create(type, eventInit); |
v8::Handle<v8::Object> wrapper = args.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper(event.release(), &V8TestEventConstructor::info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); |
+ V8DOMWrapper::associateObjectWithWrapper<V8TestEventConstructor>(event.release(), &V8TestEventConstructor::info, wrapper, args.GetIsolate(), WrapperConfiguration::Dependent); |
v8SetReturnValue(args, wrapper); |
} |
} // namespace TestEventConstructorV8Internal |
@@ -190,18 +190,18 @@ bool V8TestEventConstructor::HasInstanceInAnyWorld(v8::Handle<v8::Value> value, |
v8::Handle<v8::Object> V8TestEventConstructor::createWrapper(PassRefPtr<TestEventConstructor> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl.get()); |
- ASSERT(DOMDataStore::getWrapper(impl.get(), isolate).IsEmpty()); |
+ ASSERT(DOMDataStore::getWrapper<V8TestEventConstructor>(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<V8TestEventConstructor>(impl, &info, wrapper, isolate, WrapperConfiguration::Independent); |
return wrapper; |
} |
void V8TestEventConstructor::derefObject(void* object) |
{ |
- static_cast<TestEventConstructor*>(object)->deref(); |
+ fromInternalPointer(object)->deref(); |
} |
} // namespace WebCore |