| Index: Source/bindings/templates/methods.cpp
|
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp
|
| index d45d9ab1974094886a9467227929097646bf5bf6..d44aeba5d89e96200a74ad35cd4f2fa032df222c 100644
|
| --- a/Source/bindings/templates/methods.cpp
|
| +++ b/Source/bindings/templates/methods.cpp
|
| @@ -344,7 +344,7 @@ static void constructor{{constructor.overload_index}}(const v8::FunctionCallback
|
| {% if is_constructor_call_with_document %}
|
| Document& document = *toDocument(currentExecutionContext(info.GetIsolate()));
|
| {% endif %}
|
| - RefPtr<{{cpp_class}}> impl = {{cpp_class}}::create({{constructor.argument_list | join(', ')}});
|
| + {{ref_ptr}}<{{cpp_class}}> impl = {{cpp_class}}::create({{constructor.argument_list | join(', ')}});
|
| v8::Handle<v8::Object> wrapper = info.Holder();
|
| {% if is_constructor_raises_exception %}
|
| if (exceptionState.throwIfNeeded())
|
|
|