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

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

Issue 1219063013: Fix virtual/override/final usage in Source/core/dom/. (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
« no previous file with comments | « Source/core/dom/CDATASection.h ('k') | Source/core/dom/ChildNodeList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/CharacterData.h
diff --git a/Source/core/dom/CharacterData.h b/Source/core/dom/CharacterData.h
index 425ec4247d9f414dada31b78e8e20c1767b83220..15b96f11f7c014c1e78e8a294f2d10a05733f9b7 100644
--- a/Source/core/dom/CharacterData.h
+++ b/Source/core/dom/CharacterData.h
@@ -74,10 +74,10 @@ protected:
String m_data;
private:
- virtual String nodeValue() const override final;
- virtual void setNodeValue(const String&) override final;
- virtual bool isCharacterDataNode() const override final { return true; }
- virtual int maxCharacterOffset() const override final;
+ String nodeValue() const final;
+ void setNodeValue(const String&) final;
+ bool isCharacterDataNode() const final { return true; }
+ int maxCharacterOffset() const final;
void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, UpdateSource = UpdateFromNonParser, RecalcStyleBehavior = DoNotRecalcStyle);
bool isContainerNode() const = delete; // This will catch anyone doing an unnecessary check.
« no previous file with comments | « Source/core/dom/CDATASection.h ('k') | Source/core/dom/ChildNodeList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698