Chromium Code Reviews| 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..592b9d6c2a69d98457c59728103a253c7b2ca180 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>); |
|
Yuki
2017/03/15 08:14:46
nit: Do not drop |callback| because it's meanful a
peria
2017/03/15 08:39:06
Done.
|
| ~{{cpp_class}}() = default; |
| - DECLARE_TRACE(); |
| + DEFINE_INLINE_TRACE() {} |
| DECLARE_TRACE_WRAPPERS(); |
| bool call({{argument_declarations | join(', ')}}); |