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

Unified Diff: sky/engine/core/dom/CharacterData.h

Issue 673403002: Remove compiler feature detection for = delete (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Don't remove #define for FINAL 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 | « sky/engine/core/dom/Attr.h ('k') | sky/engine/core/dom/ContainerNode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/CharacterData.h
diff --git a/sky/engine/core/dom/CharacterData.h b/sky/engine/core/dom/CharacterData.h
index 93163f9ef569981861ccf4b3e2f90ad701b18a47..5898d078f41a535976916e710e3fc77e72d2a152 100644
--- a/sky/engine/core/dom/CharacterData.h
+++ b/sky/engine/core/dom/CharacterData.h
@@ -77,8 +77,8 @@ private:
virtual bool offsetInCharacters() const override final;
void setDataAndUpdate(const String&, unsigned offsetOfReplacedData, unsigned oldLength, unsigned newLength, RecalcStyleBehavior = DoNotRecalcStyle);
- bool isContainerNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
- bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+ bool isContainerNode() const = delete; // This will catch anyone doing an unnecessary check.
+ bool isElementNode() const = delete; // This will catch anyone doing an unnecessary check.
};
DEFINE_NODE_TYPE_CASTS(CharacterData, isCharacterDataNode());
« no previous file with comments | « sky/engine/core/dom/Attr.h ('k') | sky/engine/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698