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

Unified Diff: third_party/WebKit/Source/core/dom/Element.cpp

Issue 2068053002: Rename Blink constants generated from IDL files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix unintended exception message change Created 4 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
Index: third_party/WebKit/Source/core/dom/Element.cpp
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp
index 5334335ce4bd85fc5ec74ef610f142f5836b8d4c..d3662eaac9d59c2286b44dbde812a297b7545a60 100644
--- a/third_party/WebKit/Source/core/dom/Element.cpp
+++ b/third_party/WebKit/Source/core/dom/Element.cpp
@@ -357,7 +357,7 @@ bool Element::hasAnimations() const
Node::NodeType Element::getNodeType() const
{
- return ELEMENT_NODE;
+ return kElementNode;
}
bool Element::hasAttribute(const QualifiedName& name) const
@@ -2081,11 +2081,11 @@ ShadowRoot& Element::ensureUserAgentShadowRoot()
bool Element::childTypeAllowed(NodeType type) const
{
switch (type) {
- case ELEMENT_NODE:
- case TEXT_NODE:
- case COMMENT_NODE:
- case PROCESSING_INSTRUCTION_NODE:
- case CDATA_SECTION_NODE:
+ case kElementNode:
+ case kTextNode:
+ case kCommentNode:
+ case kProcessingInstructionNode:
+ case kCdataSectionNode:
return true;
default:
break;

Powered by Google App Engine
This is Rietveld 408576698