Index: Source/core/editing/ApplyStyleCommand.h |
diff --git a/Source/core/editing/ApplyStyleCommand.h b/Source/core/editing/ApplyStyleCommand.h |
index 363e09e505d720502f03ca88257d5ec6c346a37d..4280544ba057b2edc1abd954379f4e049ed66a5a 100644 |
--- a/Source/core/editing/ApplyStyleCommand.h |
+++ b/Source/core/editing/ApplyStyleCommand.h |
@@ -41,7 +41,7 @@ enum ShouldIncludeTypingStyle { |
IgnoreTypingStyle |
}; |
-class ApplyStyleCommand : public CompositeEditCommand { |
+class ApplyStyleCommand FINAL : public CompositeEditCommand { |
public: |
enum EPropertyLevel { PropertyDefault, ForceBlockProperties }; |
enum InlineStyleRemovalMode { RemoveIfNeeded, RemoveAlways, RemoveNone }; |
@@ -71,8 +71,8 @@ private: |
ApplyStyleCommand(PassRefPtr<Element>, bool removeOnly, EditAction); |
ApplyStyleCommand(Document&, const EditingStyle*, bool (*isInlineElementToRemove)(const Element*), EditAction); |
- virtual void doApply(); |
- virtual EditAction editingAction() const; |
+ virtual void doApply() OVERRIDE; |
+ virtual EditAction editingAction() const OVERRIDE; |
// style-removal helpers |
bool isStyledInlineElementToRemove(Element*) const; |