Index: Source/core/editing/InsertParagraphSeparatorCommand.h |
diff --git a/Source/core/editing/InsertParagraphSeparatorCommand.h b/Source/core/editing/InsertParagraphSeparatorCommand.h |
index 57f32b3292c745b5ddada9a185f5631a40007c94..075e849e9b75ca06edc38c1ca6114801909794e1 100644 |
--- a/Source/core/editing/InsertParagraphSeparatorCommand.h |
+++ b/Source/core/editing/InsertParagraphSeparatorCommand.h |
@@ -32,7 +32,7 @@ namespace WebCore { |
class EditingStyle; |
-class InsertParagraphSeparatorCommand : public CompositeEditCommand { |
+class InsertParagraphSeparatorCommand FINAL : public CompositeEditCommand { |
public: |
static PassRefPtr<InsertParagraphSeparatorCommand> create(Document& document, bool useDefaultParagraphElement = false, bool pasteBlockqutoeIntoUnquotedArea = false) |
{ |
@@ -42,7 +42,7 @@ public: |
private: |
InsertParagraphSeparatorCommand(Document&, bool useDefaultParagraphElement, bool pasteBlockqutoeIntoUnquotedArea); |
- virtual void doApply(); |
+ virtual void doApply() OVERRIDE; |
void calculateStyleBeforeInsertion(const Position&); |
void applyStyleAfterInsertion(Node* originalEnclosingBlock); |
@@ -51,7 +51,7 @@ private: |
bool shouldUseDefaultParagraphElement(Node*) const; |
- virtual bool preservesTypingStyle() const; |
+ virtual bool preservesTypingStyle() const OVERRIDE; |
RefPtr<EditingStyle> m_style; |