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

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

Issue 2755603003: [Refactor] Update template files for callback functions (Closed)
Patch Set: work for comments Created 3 years, 9 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 57b5e77c614c6869930c45b4757df5e469d33574..6528813495e117f72c8e3a728bc816e2a269ce3b 100644
--- a/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
+++ b/third_party/WebKit/Source/bindings/templates/callback_function.h.tmpl
@@ -18,11 +18,11 @@ class {{forward_declaration}};
class {{exported}}{{cpp_class}} final : public GarbageCollectedFinalized<{{cpp_class}}>, public TraceWrapperBase {
public:
- static {{cpp_class}}* create(ScriptState* scriptState, v8::Local<v8::Value> callback);
+ static {{cpp_class}}* create(ScriptState*, v8::Local<v8::Value> callback);
~{{cpp_class}}() = default;
- DECLARE_TRACE();
+ DEFINE_INLINE_TRACE() {}
DECLARE_TRACE_WRAPPERS();
bool call({{argument_declarations | join(', ')}});

Powered by Google App Engine
This is Rietveld 408576698