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

Unified Diff: sky/engine/core/dom/Attr.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 | « no previous file | sky/engine/core/dom/CharacterData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Attr.h
diff --git a/sky/engine/core/dom/Attr.h b/sky/engine/core/dom/Attr.h
index 786ff35979f0d7c773d25b41f1aa7c46e24e0a08..b2eb4b5cef318fd446ffa9ef88110d7eda144adb 100644
--- a/sky/engine/core/dom/Attr.h
+++ b/sky/engine/core/dom/Attr.h
@@ -52,7 +52,7 @@ public:
private:
Attr(Element&, const QualifiedName&);
- bool isElementNode() const WTF_DELETED_FUNCTION; // This will catch anyone doing an unnecessary check.
+ bool isElementNode() const = delete; // This will catch anyone doing an unnecessary check.
virtual String nodeName() const override { return name(); }
virtual NodeType nodeType() const override { return ATTRIBUTE_NODE; }
« no previous file with comments | « no previous file | sky/engine/core/dom/CharacterData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698