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

Unified Diff: Source/core/editing/RemoveCSSPropertyCommand.h

Issue 134343002: Update editing classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 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/core/editing/RemoveCSSPropertyCommand.h
diff --git a/Source/core/editing/RemoveCSSPropertyCommand.h b/Source/core/editing/RemoveCSSPropertyCommand.h
index 85d61566055a93be5d5fd831e40332aa052d680a..950181f1aa20d32a6d1f24f7ab89ac4998b92d99 100644
--- a/Source/core/editing/RemoveCSSPropertyCommand.h
+++ b/Source/core/editing/RemoveCSSPropertyCommand.h
@@ -33,7 +33,7 @@ namespace WebCore {
class Element;
-class RemoveCSSPropertyCommand : public SimpleEditCommand {
+class RemoveCSSPropertyCommand FINAL : public SimpleEditCommand {
public:
static PassRefPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtr<Element> element, CSSPropertyID property)
{
@@ -42,7 +42,7 @@ public:
private:
RemoveCSSPropertyCommand(Document&, PassRefPtr<Element>, CSSPropertyID);
- ~RemoveCSSPropertyCommand();
+ virtual ~RemoveCSSPropertyCommand();
eseidel 2014/01/10 18:24:14 So previously this destructor was not marked virtu
Inactive 2014/01/10 18:36:00 No change in behavior. The destructor was already
virtual void doApply() OVERRIDE;
virtual void doUnapply() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698