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

Unified Diff: Source/core/dom/Text.h

Issue 633573004: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/dom/TemplateContentDocumentFragment.h ('k') | Source/core/dom/Touch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Text.h
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
index db2db5009348433fb394a2c616d16f94f164abb5..3c275ec8903c16f4be6314e57a9eb6064a43b1bf 100644
--- a/Source/core/dom/Text.h
+++ b/Source/core/dom/Text.h
@@ -55,18 +55,18 @@ public:
RenderText* createTextRenderer(RenderStyle*);
void updateTextRenderer(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData, RecalcStyleBehavior = DoNotRecalcStyle);
- virtual void attach(const AttachContext& = AttachContext()) OVERRIDE FINAL;
+ virtual void attach(const AttachContext& = AttachContext()) override final;
- virtual bool canContainRangeEndPoint() const OVERRIDE FINAL { return true; }
- virtual NodeType nodeType() const OVERRIDE;
+ virtual bool canContainRangeEndPoint() const override final { return true; }
+ virtual NodeType nodeType() const override;
protected:
Text(TreeScope& treeScope, const String& data, ConstructionType type)
: CharacterData(treeScope, data, type) { }
private:
- virtual String nodeName() const OVERRIDE;
- virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) OVERRIDE FINAL;
+ virtual String nodeName() const override;
+ virtual PassRefPtrWillBeRawPtr<Node> cloneNode(bool deep = true) override final;
bool isTextNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
@@ -75,7 +75,7 @@ private:
virtual PassRefPtrWillBeRawPtr<Text> cloneWithData(const String&);
#ifndef NDEBUG
- virtual void formatForDebugger(char* buffer, unsigned length) const OVERRIDE;
+ virtual void formatForDebugger(char* buffer, unsigned length) const override;
#endif
};
« no previous file with comments | « Source/core/dom/TemplateContentDocumentFragment.h ('k') | Source/core/dom/Touch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698