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

Unified Diff: third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl

Issue 2434763002: [wrapper-tracing] Bring remoteplayback up to date (Closed)
Patch Set: Reset bingings results Created 4 years, 2 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: third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
index ecf618e362ab4a4ebc7ca4369ceabf67c2288b65..1ce54c3f62f68e614383c215cbbf744f76d454ec 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.cpp.tmpl
@@ -22,6 +22,11 @@ DEFINE_TRACE({{cpp_class}})
{
}
+DEFINE_TRACE_WRAPPERS({{cpp_class}})
+{
+ visitor->traceWrappers(&m_callback.cast<v8::Object>());
+}
+
bool {{cpp_class}}::call({{argument_declarations | join(', ')}})
{
if (!scriptState->contextIsValid())

Powered by Google App Engine
This is Rietveld 408576698