| Index: third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| index f63021a50688d8c38cb7537f8c15af8de6dbd598..82bc76ca9e998f08e4dc483da3a8c42b54d42c8e 100644
|
| --- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp
|
| @@ -318,7 +318,7 @@ void TextIteratorAlgorithm<Strategy>::advance()
|
| // Handle the current node according to its type.
|
| if (m_iterationProgress < HandledNode) {
|
| bool handledNode = false;
|
| - if (layoutObject->isText() && m_node->getNodeType() == Node::TEXT_NODE) { // FIXME: What about CDATA_SECTION_NODE?
|
| + if (layoutObject->isText() && m_node->getNodeType() == Node::kTextNode) { // FIXME: What about kCdataSectionNode?
|
| if (!m_fullyClippedStack.top() || ignoresStyleVisibility())
|
| handledNode = handleTextNode();
|
| } else if (layoutObject && (layoutObject->isImage() || layoutObject->isLayoutPart()
|
|
|