Index: Source/core/editing/SpellingCorrectionCommand.h |
diff --git a/Source/core/editing/SpellingCorrectionCommand.h b/Source/core/editing/SpellingCorrectionCommand.h |
index ae4d15e37cee00ade316f395278cee5169774187..e1b9eea8a090774219817b2dc4813782f5e226a6 100644 |
--- a/Source/core/editing/SpellingCorrectionCommand.h |
+++ b/Source/core/editing/SpellingCorrectionCommand.h |
@@ -31,7 +31,7 @@ |
namespace WebCore { |
-class SpellingCorrectionCommand : public CompositeEditCommand { |
+class SpellingCorrectionCommand FINAL : public CompositeEditCommand { |
public: |
static PassRefPtr<SpellingCorrectionCommand> create(PassRefPtr<Range> rangeToBeCorrected, const String& correction) |
{ |
@@ -39,8 +39,8 @@ public: |
} |
private: |
SpellingCorrectionCommand(PassRefPtr<Range> rangeToBeCorrected, const String& correction); |
- virtual void doApply(); |
- virtual bool shouldRetainAutocorrectionIndicator() const; |
+ virtual void doApply() OVERRIDE; |
+ virtual bool shouldRetainAutocorrectionIndicator() const OVERRIDE; |
RefPtr<Range> m_rangeToBeCorrected; |
VisibleSelection m_selectionToBeCorrected; |