Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(335)

Unified Diff: Source/bindings/templates/methods.cpp

Issue 563703002: Oilpan: Enable oilpan for callback classes (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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}}
« no previous file with comments | « Source/bindings/templates/callback_interface.h ('k') | Source/bindings/tests/results/core/V8TestCallbackInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698