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

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

Issue 1218293014: Fix virtual/override/final usage in Source/core/editing/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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/InsertParagraphSeparatorCommand.h
diff --git a/Source/core/editing/InsertParagraphSeparatorCommand.h b/Source/core/editing/InsertParagraphSeparatorCommand.h
index e72d0c002d938e7d2f3d42f575bef2af2b43d14a..1e34a14bdf05d42bc0844d22b8ee40a88c4ddc7a 100644
--- a/Source/core/editing/InsertParagraphSeparatorCommand.h
+++ b/Source/core/editing/InsertParagraphSeparatorCommand.h
@@ -44,7 +44,7 @@ public:
private:
InsertParagraphSeparatorCommand(Document&, bool useDefaultParagraphElement, bool pasteBlockquoteIntoUnquotedArea);
- virtual void doApply() override;
+ void doApply() override;
void calculateStyleBeforeInsertion(const Position&);
void applyStyleAfterInsertion(Element* originalEnclosingBlock);
@@ -53,7 +53,7 @@ private:
bool shouldUseDefaultParagraphElement(Element*) const;
- virtual bool preservesTypingStyle() const override;
+ bool preservesTypingStyle() const override;
RefPtrWillBeMember<EditingStyle> m_style;

Powered by Google App Engine
This is Rietveld 408576698