Index: Source/core/editing/iterators/TextIterator.cpp |
diff --git a/Source/core/editing/iterators/TextIterator.cpp b/Source/core/editing/iterators/TextIterator.cpp |
index f581d4c4b14187ac21bcd9e5c3c5055b79798eb9..c3a5a22b0c212e949f5c310a4da50e14729d514c 100644 |
--- a/Source/core/editing/iterators/TextIterator.cpp |
+++ b/Source/core/editing/iterators/TextIterator.cpp |
@@ -302,7 +302,7 @@ void TextIterator::advance() |
bool handledNode = false; |
if (renderer->isText() && m_node->nodeType() == Node::TEXT_NODE) { // FIXME: What about CDATA_SECTION_NODE? |
handledNode = handleTextNode(); |
- } else if (renderer && (renderer->isImage() || renderer->isRenderPart() |
+ } else if (renderer && (renderer->isImage() || renderer->isLayoutPart() |
|| (m_node && m_node->isHTMLElement() |
&& (isHTMLFormControlElement(toHTMLElement(*m_node)) |
|| isHTMLLegendElement(toHTMLElement(*m_node)) |