Index: Source/core/editing/InsertListCommand.h |
diff --git a/Source/core/editing/InsertListCommand.h b/Source/core/editing/InsertListCommand.h |
index 80933b253d2f1f57ac7487dfecdc3d13bd112c1e..1a21a362a50f922f245878ac79136e12db814b86 100644 |
--- a/Source/core/editing/InsertListCommand.h |
+++ b/Source/core/editing/InsertListCommand.h |
@@ -32,7 +32,7 @@ namespace WebCore { |
class HTMLElement; |
-class InsertListCommand : public CompositeEditCommand { |
+class InsertListCommand FINAL : public CompositeEditCommand { |
public: |
enum Type { OrderedList, UnorderedList }; |
@@ -43,13 +43,13 @@ public: |
static PassRefPtr<HTMLElement> insertList(Document&, Type); |
- virtual bool preservesTypingStyle() const { return true; } |
+ virtual bool preservesTypingStyle() const OVERRIDE { return true; } |
private: |
InsertListCommand(Document&, Type); |
- virtual void doApply(); |
- virtual EditAction editingAction() const { return EditActionInsertList; } |
+ virtual void doApply() OVERRIDE; |
+ virtual EditAction editingAction() const OVERRIDE { return EditActionInsertList; } |
HTMLElement* fixOrphanedListChild(Node*); |
bool selectionHasListOfType(const VisibleSelection& selection, const QualifiedName&); |