Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(697)

Unified Diff: Source/core/editing/SpellingCorrectionCommand.h

Issue 134343002: Update editing classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698