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

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

Issue 740453004: IDL: Basic dictionary inheritance support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « Source/bindings/templates/dictionary_impl.h ('k') | Source/bindings/templates/dictionary_v8.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/templates/dictionary_impl.cpp
diff --git a/Source/bindings/templates/dictionary_impl.cpp b/Source/bindings/templates/dictionary_impl.cpp
index 60e56ec938cbf511e5274db520ef52f710761c52..f9771424274931d7e63a4d1601e449a08a56d9b6 100644
--- a/Source/bindings/templates/dictionary_impl.cpp
+++ b/Source/bindings/templates/dictionary_impl.cpp
@@ -26,6 +26,9 @@ void {{cpp_class}}::trace(Visitor* visitor)
{% for member in members if member.is_traceable %}
visitor->trace(m_{{member.cpp_name}});
{% endfor %}
+ {% if parent_cpp_class %}
+ {{parent_cpp_class}}::trace(visitor);
+ {% endif %}
}
} // namespace blink
« no previous file with comments | « Source/bindings/templates/dictionary_impl.h ('k') | Source/bindings/templates/dictionary_v8.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698