| Index: third_party/WebKit/Source/core/dom/DocumentFragment.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
|
| index d83c9dd6770c097d8bfef8955db53b38c9d5773e..28dd7a139513a12aa285d9b9fb2b821f1daaf726 100644
|
| --- a/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/DocumentFragment.cpp
|
| @@ -45,17 +45,17 @@ String DocumentFragment::nodeName() const
|
|
|
| Node::NodeType DocumentFragment::getNodeType() const
|
| {
|
| - return DOCUMENT_FRAGMENT_NODE;
|
| + return kDocumentFragmentNode;
|
| }
|
|
|
| bool DocumentFragment::childTypeAllowed(NodeType type) const
|
| {
|
| switch (type) {
|
| - case ELEMENT_NODE:
|
| - case PROCESSING_INSTRUCTION_NODE:
|
| - case COMMENT_NODE:
|
| - case TEXT_NODE:
|
| - case CDATA_SECTION_NODE:
|
| + case kElementNode:
|
| + case kProcessingInstructionNode:
|
| + case kCommentNode:
|
| + case kTextNode:
|
| + case kCdataSectionNode:
|
| return true;
|
| default:
|
| return false;
|
|
|