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. |