Index: Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp |
diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp b/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp |
index ecde49f91eb2620cfc8b5f21c856f50d7edc9084..74d65319fc603206ec046d87691df7b5805f1ed3 100644 |
--- a/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp |
+++ b/Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp |
@@ -56,7 +56,7 @@ static void constructor1(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(stringArg); |
v8::Handle<v8::Object> wrapper = info.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
+ impl.get()->associateWithWrapper(&V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
v8SetReturnValue(info, wrapper); |
} |
@@ -74,7 +74,7 @@ static void constructor2(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(dictionaryArg); |
v8::Handle<v8::Object> wrapper = info.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
+ impl.get()->associateWithWrapper(&V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
v8SetReturnValue(info, wrapper); |
} |
@@ -107,7 +107,7 @@ static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) |
if (UNLIKELY(info.Length() <= 5)) { |
RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(testInterfaceEmptyArg, longArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalStringArg, defaultUndefinedOptionalDictionaryArg); |
v8::Handle<v8::Object> wrapper = info.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
+ impl.get()->associateWithWrapper(&V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
v8SetReturnValue(info, wrapper); |
return; |
} |
@@ -115,7 +115,7 @@ static void constructor3(const v8::FunctionCallbackInfo<v8::Value>& info) |
} |
RefPtr<TestInterfaceConstructor2> impl = TestInterfaceConstructor2::create(testInterfaceEmptyArg, longArg, defaultUndefinedOptionalStringArg, defaultNullStringOptionalStringArg, defaultUndefinedOptionalDictionaryArg, optionalStringArg); |
v8::Handle<v8::Object> wrapper = info.Holder(); |
- V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceConstructor2>(impl.release(), &V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
+ impl.get()->associateWithWrapper(&V8TestInterfaceConstructor2::wrapperTypeInfo, wrapper, info.GetIsolate()); |
v8SetReturnValue(info, wrapper); |
} |