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

Unified Diff: Source/bindings/templates/dictionary_impl.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/dictionary_impl.cpp
diff --git a/Source/bindings/templates/dictionary_impl.cpp b/Source/bindings/templates/dictionary_impl.cpp
index f9771424274931d7e63a4d1601e449a08a56d9b6..80fb9c13fdc1aa2696d8a2c1ab8ae2def101bb0a 100644
--- a/Source/bindings/templates/dictionary_impl.cpp
+++ b/Source/bindings/templates/dictionary_impl.cpp
@@ -21,7 +21,7 @@ namespace blink {
{% endfor %}
}
-void {{cpp_class}}::trace(Visitor* visitor)
+DEFINE_TRACE({{cpp_class}})
{
{% for member in members if member.is_traceable %}
visitor->trace(m_{{member.cpp_name}});

Powered by Google App Engine
This is Rietveld 408576698