Index: Source/core/editing/FormatBlockCommand.h |
diff --git a/Source/core/editing/FormatBlockCommand.h b/Source/core/editing/FormatBlockCommand.h |
index 32ec6ae6f955f91d5e25f4cccdb6f637412a8712..84871b146c740f011b45d62e78efdba15cd7ae6f 100644 |
--- a/Source/core/editing/FormatBlockCommand.h |
+++ b/Source/core/editing/FormatBlockCommand.h |
@@ -38,14 +38,14 @@ class Position; |
class Range; |
class VisiblePosition; |
-class FormatBlockCommand FINAL : public ApplyBlockElementCommand { |
+class FormatBlockCommand final : public ApplyBlockElementCommand { |
public: |
static PassRefPtrWillBeRawPtr<FormatBlockCommand> create(Document& document, const QualifiedName& tagName) |
{ |
return adoptRefWillBeNoop(new FormatBlockCommand(document, tagName)); |
} |
- virtual bool preservesTypingStyle() const OVERRIDE { return true; } |
+ virtual bool preservesTypingStyle() const override { return true; } |
static Element* elementForFormatBlockCommand(Range*); |
bool didApply() const { return m_didApply; } |
@@ -53,9 +53,9 @@ public: |
private: |
FormatBlockCommand(Document&, const QualifiedName& tagName); |
- virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) OVERRIDE; |
- virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>&) OVERRIDE; |
- virtual EditAction editingAction() const OVERRIDE { return EditActionFormatBlock; } |
+ virtual void formatSelection(const VisiblePosition& startOfSelection, const VisiblePosition& endOfSelection) override; |
+ virtual void formatRange(const Position& start, const Position& end, const Position& endOfSelection, RefPtrWillBeRawPtr<HTMLElement>&) override; |
+ virtual EditAction editingAction() const override { return EditActionFormatBlock; } |
bool m_didApply; |
}; |