| Index: third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| index 56ae182534dfc265783a60fbab54ddc962fe0a78..0929a85a166b881d96aa42f11b82d04a41f24b42 100644
|
| --- a/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
| @@ -406,7 +406,7 @@ void StyledMarkupTraverser<Strategy>::appendStartMarkup(Node& node)
|
| if (!m_accumulator)
|
| return;
|
| switch (node.getNodeType()) {
|
| - case Node::TEXT_NODE: {
|
| + case Node::kTextNode: {
|
| Text& text = toText(node);
|
| if (text.parentElement() && isHTMLTextAreaElement(text.parentElement())) {
|
| m_accumulator->appendText(text);
|
| @@ -424,7 +424,7 @@ void StyledMarkupTraverser<Strategy>::appendStartMarkup(Node& node)
|
| m_accumulator->appendTextWithInlineStyle(text, inlineStyle);
|
| break;
|
| }
|
| - case Node::ELEMENT_NODE: {
|
| + case Node::kElementNode: {
|
| Element& element = toElement(node);
|
| if ((element.isHTMLElement() && shouldAnnotate()) || shouldApplyWrappingStyle(element)) {
|
| EditingStyle* inlineStyle = createInlineStyle(element);
|
|
|