Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index 16e3a5f9cffd7d428d1d2d8f8befefda8b46a6c7..b84b780cd6af3a7f3225ed897ac8c67ca070c6cb 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -573,11 +573,7 @@ static void {{name}}(const v8::FunctionCallbackInfo<v8::Value>& info) |
if constructor.is_named_constructor else |
'') %} |
v8::Handle<v8::Object> wrapper = info.Holder(); |
-{% if is_script_wrappable %} |
impl->associateWithWrapper(&{{constructor_class}}::wrapperTypeInfo, wrapper, info.GetIsolate()); |
-{% else %} |
-V8DOMWrapper::associateObjectWithWrapper(info.GetIsolate(), impl.get(), &{{constructor_class}}::wrapperTypeInfo, wrapper); |
-{% endif %} |
v8SetReturnValue(info, wrapper); |
{% endmacro %} |