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

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

Issue 954683002: InlinedVisitor: Migrate bindings to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/union.cpp
diff --git a/Source/bindings/templates/union.cpp b/Source/bindings/templates/union.cpp
index cd9c3692ade642b49edda25d197be29a7bb62923..3b7a1ce6a57c618195673d6894a8173852ef9c9e 100644
--- a/Source/bindings/templates/union.cpp
+++ b/Source/bindings/templates/union.cpp
@@ -56,7 +56,7 @@ void {{container.cpp_class}}::set{{member.type_name}}({{member.rvalue_cpp_type}}
{% endfor %}
{% if container.needs_trace %}
-void {{container.cpp_class}}::trace(Visitor* visitor)
+DEFINE_TRACE({{container.cpp_class}})
{
{% for member in container.members if member.is_traceable %}
visitor->trace(m_{{member.cpp_name}});

Powered by Google App Engine
This is Rietveld 408576698