Index: third_party/WebKit/Source/bindings/templates/methods.cpp |
diff --git a/third_party/WebKit/Source/bindings/templates/methods.cpp b/third_party/WebKit/Source/bindings/templates/methods.cpp |
index e59be03ecb7056a11f445725cbc4f8723e388c01..59627818a5948861681cfcff3ca57635ba289788 100644 |
--- a/third_party/WebKit/Source/bindings/templates/methods.cpp |
+++ b/third_party/WebKit/Source/bindings/templates/methods.cpp |
@@ -116,7 +116,7 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const |
{% macro generate_argument_var_declaration(argument) %} |
{# FIXME: remove EventListener special case #} |
{% if argument.idl_type == 'EventListener' %} |
-RefPtrWillBeRawPtr<{{argument.idl_type}}> {{argument.name}} |
+RawPtr<{{argument.idl_type}}> {{argument.name}} |
{%- else %} |
{{argument.cpp_type}} {{argument.name}} |
{%- endif %}{# argument.idl_type == 'EventListener' #} |
@@ -251,7 +251,7 @@ ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); |
{% endif %} |
{% if method.is_call_with_script_arguments %} |
{# [CallWith=ScriptArguments] #} |
-RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(ScriptArguments::create(scriptState, info, {{method.number_of_arguments}})); |
+RawPtr<ScriptArguments> scriptArguments(ScriptArguments::create(scriptState, info, {{method.number_of_arguments}})); |
{% endif %} |
{% if method.is_call_with_document %} |
{# [ConstructorCallWith=Document] #} |
@@ -475,7 +475,7 @@ void postMessageImpl(const char* interfaceName, {{cpp_class}}* instance, const v |
exceptionState.throwIfNeeded(); |
return; |
} |
- OwnPtrWillBeRawPtr<MessagePortArray> ports = adoptPtrWillBeNoop(new MessagePortArray); |
+ RawPtr<MessagePortArray> ports = adoptPtrWillBeNoop(new MessagePortArray); |
ArrayBufferArray arrayBuffers; |
ImageBitmapArray imageBitmaps; |
if (info.Length() > 1) { |