Index: Source/bindings/templates/methods.cpp |
diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
index da6c8e140f88b768d6d58f90da8cd0546edcb114..92b219e8f62ac8b5d421de76b26d957fee6c5c49 100644 |
--- a/Source/bindings/templates/methods.cpp |
+++ b/Source/bindings/templates/methods.cpp |
@@ -95,7 +95,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' %} |
-RefPtr<{{argument.idl_type}}> {{argument.name}} |
+RefPtrWillBeRawPtr<{{argument.idl_type}}> {{argument.name}} |
sof
2015/07/22 15:25:09
Wouldn't it be preferable to nullptr initialize th
|
{%- else %} |
{{argument.cpp_type}} {{argument.name}} |
{%- endif %}{# argument.idl_type == 'EventListener' #} |