| Index: third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
|
| diff --git a/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl b/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
|
| index b94d2e920cb90bb073b841fba1085c0874c35972..728b7bff85b1f65e2777e4ae84215cdbee38f296 100644
|
| --- a/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
|
| +++ b/third_party/WebKit/Source/bindings/templates/callback_interface.h.tmpl
|
| @@ -11,28 +11,27 @@
|
| namespace blink {
|
|
|
| class {{v8_class}} final : public {{cpp_class}}, public ActiveDOMCallback {
|
| - USING_GARBAGE_COLLECTED_MIXIN({{v8_class}});
|
| -public:
|
| - static {{v8_class}}* create(v8::Local<v8::Function> callback, ScriptState* scriptState)
|
| - {
|
| - return new {{v8_class}}(callback, scriptState);
|
| - }
|
| + USING_GARBAGE_COLLECTED_MIXIN({{v8_class}});
|
| + public:
|
| + static {{v8_class}}* create(v8::Local<v8::Function> callback, ScriptState* scriptState) {
|
| + return new {{v8_class}}(callback, scriptState);
|
| + }
|
|
|
| - ~{{v8_class}}() override;
|
| + ~{{v8_class}}() override;
|
|
|
| - DECLARE_VIRTUAL_TRACE();
|
| + DECLARE_VIRTUAL_TRACE();
|
|
|
| {% for method in methods %}
|
| - {{method.cpp_type}} {{method.name}}({{method.argument_declarations | join(', ')}}) override;
|
| + {{method.cpp_type}} {{method.name}}({{method.argument_declarations | join(', ')}}) override;
|
| {% endfor %}
|
| -private:
|
| - {{exported}}{{v8_class}}(v8::Local<v8::Function>, ScriptState*);
|
| + private:
|
| + {{exported}}{{v8_class}}(v8::Local<v8::Function>, ScriptState*);
|
|
|
| - ScopedPersistent<v8::Function> m_callback;
|
| - RefPtr<ScriptState> m_scriptState;
|
| + ScopedPersistent<v8::Function> m_callback;
|
| + RefPtr<ScriptState> m_scriptState;
|
| };
|
|
|
| }
|
| -#endif // {{v8_class}}_h
|
| +#endif // {{v8_class}}_h
|
|
|
| {% endfilter %}{# format_blink_cpp_source_code #}
|
|
|