Index: Source/core/editing/SimplifyMarkupCommand.h |
diff --git a/Source/core/editing/SimplifyMarkupCommand.h b/Source/core/editing/SimplifyMarkupCommand.h |
index 3da2a6220780f0c410a4be48a6ceaffea4097d9a..f5196900e0ff763dd478e7ac18c3fcf9c3fe6b53 100644 |
--- a/Source/core/editing/SimplifyMarkupCommand.h |
+++ b/Source/core/editing/SimplifyMarkupCommand.h |
@@ -30,7 +30,7 @@ |
namespace WebCore { |
-class SimplifyMarkupCommand : public CompositeEditCommand { |
+class SimplifyMarkupCommand FINAL : public CompositeEditCommand { |
public: |
static PassRefPtr<SimplifyMarkupCommand> create(Document& document, Node* firstNode, Node* nodeAfterLast) |
{ |
@@ -40,7 +40,7 @@ public: |
private: |
SimplifyMarkupCommand(Document&, Node* firstNode, Node* nodeAfterLast); |
- virtual void doApply(); |
+ virtual void doApply() OVERRIDE; |
int pruneSubsequentAncestorsToRemove(Vector<RefPtr<Node> >& nodesToRemove, size_t startNodeIndex); |
RefPtr<Node> m_firstNode; |