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 2867b57a22c7a5eaba3aa3fd514105236782417a..708b95eab321a6b052a4426af7d43d0977e2c802 100644 |
--- a/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp |
+++ b/third_party/WebKit/Source/core/editing/iterators/TextIterator.cpp |
@@ -313,7 +313,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->nodeType() == Node::TEXT_NODE) { // FIXME: What about CDATA_SECTION_NODE? |
+ if (layoutObject->isText() && m_node->getNodeType() == Node::TEXT_NODE) { // FIXME: What about CDATA_SECTION_NODE? |
if (!m_fullyClippedStack.top() || ignoresStyleVisibility()) |
handledNode = handleTextNode(); |
} else if (layoutObject && (layoutObject->isImage() || layoutObject->isLayoutPart() |