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

Unified Diff: Source/core/editing/InsertLineBreakCommand.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/InsertLineBreakCommand.h
diff --git a/Source/core/editing/InsertLineBreakCommand.h b/Source/core/editing/InsertLineBreakCommand.h
index 6eee0e0d595cc11e78b683f2a0f95ab3fdb62e00..18bc3b975418170307e600751a6c037e5adfc00f 100644
--- a/Source/core/editing/InsertLineBreakCommand.h
+++ b/Source/core/editing/InsertLineBreakCommand.h
@@ -30,7 +30,7 @@
namespace WebCore {
-class InsertLineBreakCommand : public CompositeEditCommand {
+class InsertLineBreakCommand FINAL : public CompositeEditCommand {
public:
static PassRefPtr<InsertLineBreakCommand> create(Document& document)
{
@@ -40,9 +40,9 @@ public:
private:
explicit InsertLineBreakCommand(Document&);
- virtual void doApply();
+ virtual void doApply() OVERRIDE;
- virtual bool preservesTypingStyle() const;
+ virtual bool preservesTypingStyle() const OVERRIDE;
void insertNodeAfterPosition(Node*, const Position&);
void insertNodeBeforePosition(Node*, const Position&);

Powered by Google App Engine
This is Rietveld 408576698