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

Unified Diff: Source/core/editing/InsertTextCommand.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/InsertTextCommand.h
diff --git a/Source/core/editing/InsertTextCommand.h b/Source/core/editing/InsertTextCommand.h
index 10c8d80ea49d290e314ac52e928361afa59edba2..d8636503e162f3d3282b7c0e72897260d079d512 100644
--- a/Source/core/editing/InsertTextCommand.h
+++ b/Source/core/editing/InsertTextCommand.h
@@ -41,7 +41,7 @@ protected:
TextInsertionMarkerSupplier() { }
};
-class InsertTextCommand : public CompositeEditCommand {
+class InsertTextCommand FINAL : public CompositeEditCommand {
public:
enum RebalanceType {
RebalanceLeadingAndTrailingWhitespaces,
@@ -66,7 +66,7 @@ private:
void deleteCharacter();
- virtual void doApply();
+ virtual void doApply() OVERRIDE;
Position positionInsideTextNode(const Position&);
Position insertTab(const Position&);

Powered by Google App Engine
This is Rietveld 408576698