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

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

Issue 616603006: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/editing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased the patch Created 6 years, 2 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/ReplaceNodeWithSpanCommand.h
diff --git a/Source/core/editing/ReplaceNodeWithSpanCommand.h b/Source/core/editing/ReplaceNodeWithSpanCommand.h
index 24c4bd2ea14429df37a06764e2f0ff3290cc84fc..594ef0bb6e550fb12af3a588be36022043d8afb7 100644
--- a/Source/core/editing/ReplaceNodeWithSpanCommand.h
+++ b/Source/core/editing/ReplaceNodeWithSpanCommand.h
@@ -39,7 +39,7 @@ class HTMLElement;
class HTMLSpanElement;
// More accurately, this is ReplaceElementWithSpanPreservingChildrenAndAttributesCommand
-class ReplaceNodeWithSpanCommand FINAL : public SimpleEditCommand {
+class ReplaceNodeWithSpanCommand final : public SimpleEditCommand {
public:
static PassRefPtrWillBeRawPtr<ReplaceNodeWithSpanCommand> create(PassRefPtrWillBeRawPtr<HTMLElement> element)
{
@@ -48,13 +48,13 @@ public:
HTMLSpanElement* spanElement() { return m_spanElement.get(); }
- virtual void trace(Visitor*) OVERRIDE;
+ virtual void trace(Visitor*) override;
private:
explicit ReplaceNodeWithSpanCommand(PassRefPtrWillBeRawPtr<HTMLElement>);
- virtual void doApply() OVERRIDE;
- virtual void doUnapply() OVERRIDE;
+ virtual void doApply() override;
+ virtual void doUnapply() override;
RefPtrWillBeMember<HTMLElement> m_elementToReplace;
RefPtrWillBeMember<HTMLSpanElement> m_spanElement;
« no previous file with comments | « Source/core/editing/RemoveNodePreservingChildrenCommand.h ('k') | Source/core/editing/ReplaceSelectionCommand.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698