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

Unified Diff: third_party/WebKit/Source/core/dom/Attr.h

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 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
Index: third_party/WebKit/Source/core/dom/Attr.h
diff --git a/third_party/WebKit/Source/core/dom/Attr.h b/third_party/WebKit/Source/core/dom/Attr.h
index 8c40a1f765845e9552d2373e8938bef370d4ab32..0f49bfaecd2bffea39db647c35b3f86e532391c5 100644
--- a/third_party/WebKit/Source/core/dom/Attr.h
+++ b/third_party/WebKit/Source/core/dom/Attr.h
@@ -68,7 +68,7 @@ private:
bool isElementNode() const = delete; // This will catch anyone doing an unnecessary check.
String nodeName() const override { return name(); }
- NodeType getNodeType() const override { return ATTRIBUTE_NODE; }
+ NodeType getNodeType() const override { return kAttributeNode; }
String nodeValue() const override { return value(); }
void setNodeValue(const String&) override;
« no previous file with comments | « third_party/WebKit/Source/core/css/ElementRuleCollector.cpp ('k') | third_party/WebKit/Source/core/dom/CDATASection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698