| Index: third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp b/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| index ca41e143210a2c52ab59d4a965f4a1a4d8641f41..82a2ed5df2719182bbe0804965f0fc704a75d4cf 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp
|
| @@ -411,7 +411,7 @@ void WebFrameSerializerImpl::buildContentForNode(
|
| SerializeDomParam* param)
|
| {
|
| switch (node->getNodeType()) {
|
| - case Node::ELEMENT_NODE:
|
| + case Node::kElementNode:
|
| // Process open tag of element.
|
| openTagToString(toElement(node), param);
|
| // Walk through the children nodes and process it.
|
| @@ -420,17 +420,17 @@ void WebFrameSerializerImpl::buildContentForNode(
|
| // Process end tag of element.
|
| endTagToString(toElement(node), param);
|
| break;
|
| - case Node::TEXT_NODE:
|
| + case Node::kTextNode:
|
| saveHTMLContentToBuffer(createMarkup(node), param);
|
| break;
|
| - case Node::ATTRIBUTE_NODE:
|
| - case Node::DOCUMENT_NODE:
|
| - case Node::DOCUMENT_FRAGMENT_NODE:
|
| + case Node::kAttributeNode:
|
| + case Node::kDocumentNode:
|
| + case Node::kDocumentFragmentNode:
|
| // Should not exist.
|
| NOTREACHED();
|
| break;
|
| // Document type node can be in DOM?
|
| - case Node::DOCUMENT_TYPE_NODE:
|
| + case Node::kDocumentTypeNode:
|
| param->haveSeenDocType = true;
|
| default:
|
| // For other type node, call default action.
|
|
|