Chromium Code Reviews| Index: Source/bindings/templates/methods.cpp |
| diff --git a/Source/bindings/templates/methods.cpp b/Source/bindings/templates/methods.cpp |
| index f95a037764224ce8fec77e83b32c1561301aa2f5..341fd405be4c8b341cffd8a0db6a3661292defb2 100644 |
| --- a/Source/bindings/templates/methods.cpp |
| +++ b/Source/bindings/templates/methods.cpp |
| @@ -89,7 +89,7 @@ static void {{method.name}}{{method.overload_index}}Method{{world_suffix}}(const |
| {% if argument.idl_type == 'EventListener' %} |
| RefPtr<{{argument.idl_type}}> {{argument.name}} |
| {%- else %} |
| -OwnPtrWillBeRawPtr<{{argument.idl_type}}> {{argument.name}} = nullptr; |
| +{{argument.idl_type}}* {{argument.name}} = nullptr; |
|
sof
2014/09/18 11:38:54
nit: ";" at the end appears redundant.
Jens Widell
2014/09/18 12:13:19
I think we can (and should) remove the special han
keishi
2014/09/19 06:43:34
Done.
|
| {%- endif %}{# argument.idl_type == 'EventListener' #} |
| {%- else %} |
| {{argument.cpp_type}} {{argument.name}} |