Index: Source/core/editing/CompositeEditCommand.h |
diff --git a/Source/core/editing/CompositeEditCommand.h b/Source/core/editing/CompositeEditCommand.h |
index b0ebf2a5d14de9d1a0a30d50f9b7b00b361211de..cf449f179caa3ef5f3fdd7c2eedb7b1685f4b55c 100644 |
--- a/Source/core/editing/CompositeEditCommand.h |
+++ b/Source/core/editing/CompositeEditCommand.h |
@@ -40,14 +40,14 @@ class HTMLElement; |
class HTMLSpanElement; |
class Text; |
-class EditCommandComposition FINAL : public UndoStep { |
+class EditCommandComposition final : public UndoStep { |
public: |
static PassRefPtrWillBeRawPtr<EditCommandComposition> create(Document*, const VisibleSelection&, const VisibleSelection&, EditAction); |
- virtual bool belongsTo(const LocalFrame&) const OVERRIDE; |
- virtual void unapply() OVERRIDE; |
- virtual void reapply() OVERRIDE; |
- virtual EditAction editingAction() const OVERRIDE { return m_editAction; } |
+ virtual bool belongsTo(const LocalFrame&) const override; |
+ virtual void unapply() override; |
+ virtual void reapply() override; |
+ virtual EditAction editingAction() const override { return m_editAction; } |
void append(SimpleEditCommand*); |
bool wasCreateLinkCommand() const { return m_editAction == EditActionCreateLink; } |
@@ -58,7 +58,7 @@ public: |
Element* startingRootEditableElement() const { return m_startingRootEditableElement.get(); } |
Element* endingRootEditableElement() const { return m_endingRootEditableElement.get(); } |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
private: |
EditCommandComposition(Document*, const VisibleSelection& startingSelection, const VisibleSelection& endingSelection, EditAction); |
@@ -86,7 +86,7 @@ public: |
virtual void setShouldRetainAutocorrectionIndicator(bool); |
virtual bool shouldStopCaretBlinking() const { return false; } |
- virtual void trace(Visitor*) OVERRIDE; |
+ virtual void trace(Visitor*) override; |
protected: |
explicit CompositeEditCommand(Document&); |
@@ -171,7 +171,7 @@ protected: |
WillBeHeapVector<RefPtrWillBeMember<EditCommand> > m_commands; |
private: |
- virtual bool isCompositeEditCommand() const OVERRIDE FINAL { return true; } |
+ virtual bool isCompositeEditCommand() const override final { return true; } |
RefPtrWillBeMember<EditCommandComposition> m_composition; |
}; |