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

Unified Diff: Source/bindings/templates/callback_interface.h

Issue 1236473002: Fix virtual/override/final usage in Source/bindings/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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: Source/bindings/templates/callback_interface.h
diff --git a/Source/bindings/templates/callback_interface.h b/Source/bindings/templates/callback_interface.h
index a3ad2ec651aedcda9258ec12086d580c63d5996d..a7eb86e205144ae185e9f4a90f5e4b8608839f05 100644
--- a/Source/bindings/templates/callback_interface.h
+++ b/Source/bindings/templates/callback_interface.h
@@ -17,12 +17,12 @@ public:
return new {{v8_class}}(callback, scriptState);
}
- virtual ~{{v8_class}}();
+ ~{{v8_class}}() override;
DECLARE_VIRTUAL_TRACE();
{% for method in methods %}
- virtual {{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*);

Powered by Google App Engine
This is Rietveld 408576698