| 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 8334bc899d44b5d4741080c50bb862bd56fdc6be..9cce24f6a0f58afd4ba5c6ec0704733e4ab0c8db 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
|
| @@ -2107,11 +2107,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;
|
|
|