Index: Source/bindings/templates/interface.cpp |
diff --git a/Source/bindings/templates/interface.cpp b/Source/bindings/templates/interface.cpp |
index c6fadd583de5b5e862ec7ff0c468830d5464ad48..0c2bedb14fc9967f5e26b20976f8f30a1b297742 100644 |
--- a/Source/bindings/templates/interface.cpp |
+++ b/Source/bindings/templates/interface.cpp |
@@ -643,11 +643,11 @@ static void constructor(const v8::FunctionCallbackInfo<v8::Value>& info) |
{% endfor %} |
} |
{% if is_constructor_raises_exception %} |
- RefPtrWillBeRawPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit, exceptionState); |
+ RefPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit, exceptionState); |
if (exceptionState.throwIfNeeded()) |
return; |
{% else %} |
- RefPtrWillBeRawPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit); |
+ RefPtr<{{cpp_class}}> event = {{cpp_class}}::create(type, eventInit); |
{% endif %} |
{% if any_type_attributes and not interface_name == 'ErrorEvent' %} |
{# If we're in an isolated world, create a SerializedScriptValue and store |