| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index 9f95858d9ce0fae33e9a2c9473736e7e1271a92a..16e3a5f9cffd7d428d1d2d8f8befefda8b46a6c7 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -569,9 +569,6 @@ static void {{name}}(const v8::FunctionCallbackInfo<v8::Value>& info)
|
|
|
| {##############################################################################}
|
| {% macro generate_constructor_wrapper(constructor) %}
|
| -{% if has_custom_wrap %}
|
| -v8::Handle<v8::Object> wrapper = wrapCustom(impl.get(), info.Holder(), info.GetIsolate());
|
| -{% else %}
|
| {% set constructor_class = v8_class + ('Constructor'
|
| if constructor.is_named_constructor else
|
| '') %}
|
| @@ -581,7 +578,6 @@ impl->associateWithWrapper(&{{constructor_class}}::wrapperTypeInfo, wrapper, inf
|
| {% else %}
|
| V8DOMWrapper::associateObjectWithWrapper(info.GetIsolate(), impl.get(), &{{constructor_class}}::wrapperTypeInfo, wrapper);
|
| {% endif %}
|
| -{% endif %}
|
| v8SetReturnValue(info, wrapper);
|
| {% endmacro %}
|
|
|
|
|