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

Unified Diff: third_party/WebKit/Source/bindings/templates/callback_function.h.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.h.tmpl
diff --git a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
index 52a6e0aa55e0bd3cc8418f1b068960df10605789..03e66568685f5141f462152918cd58d6d4650822 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
@@ -16,7 +16,8 @@ class ScriptState;
class {{forward_declaration}};
{% endfor %}
-class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_class}}> {
+class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_class}}>,
+ public TraceWrapperBase {
public:
static {{cpp_class}}* create(v8::Isolate* isolate, v8::Local<v8::Function> callback)
@@ -27,6 +28,7 @@ public:
~{{cpp_class}}() = default;
DECLARE_TRACE();
+ DECLARE_TRACE_WRAPPERS();
bool call({{argument_declarations | join(', ')}});

Powered by Google App Engine
This is Rietveld 408576698