Index: Source/core/editing/ApplyStyleCommand.h |
diff --git a/Source/core/editing/ApplyStyleCommand.h b/Source/core/editing/ApplyStyleCommand.h |
index dae964099cf9253869be7d81d7dda96b22a1004a..29b3a6235428404cce2812a9b8c62f294cc97bec 100644 |
--- a/Source/core/editing/ApplyStyleCommand.h |
+++ b/Source/core/editing/ApplyStyleCommand.h |
@@ -41,7 +41,7 @@ enum ShouldIncludeTypingStyle { |
IgnoreTypingStyle |
}; |
-class ApplyStyleCommand FINAL : public CompositeEditCommand { |
+class ApplyStyleCommand final : public CompositeEditCommand { |
public: |
enum EPropertyLevel { PropertyDefault, ForceBlockProperties }; |
enum InlineStyleRemovalMode { RemoveIfNeeded, RemoveAlways, RemoveNone }; |
@@ -65,7 +65,7 @@ public: |
return adoptRefWillBeNoop(new ApplyStyleCommand(document, style, isInlineElementToRemoveFunction, action)); |
} |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
private: |
ApplyStyleCommand(Document&, const EditingStyle*, EditAction, EPropertyLevel); |
@@ -73,8 +73,8 @@ private: |
ApplyStyleCommand(PassRefPtrWillBeRawPtr<Element>, bool removeOnly, EditAction); |
ApplyStyleCommand(Document&, const EditingStyle*, bool (*isInlineElementToRemove)(const Element*), EditAction); |
- virtual void doApply() OVERRIDE; |
- virtual EditAction editingAction() const OVERRIDE; |
+ virtual void doApply() override; |
+ virtual EditAction editingAction() const override; |
// style-removal helpers |
bool isStyledInlineElementToRemove(Element*) const; |