Index: Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp |
diff --git a/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp b/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp |
index b4d539e569d762601049b5a911cddbabcb3e7784..17bf5db0d508e50d214de8bf5ce1bf3962ac819e 100644 |
--- a/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp |
+++ b/Source/core/editing/iterators/SimplifiedBackwardsTextIterator.cpp |
@@ -190,7 +190,7 @@ void SimplifiedBackwardsTextIterator::advance() |
// FIXME: What about CDATA_SECTION_NODE? |
if (renderer->style()->visibility() == VISIBLE && m_offset > 0) |
m_handledNode = handleTextNode(); |
- } else if (renderer && (renderer->isRenderPart() || TextIterator::supportsAltText(m_node))) { |
+ } else if (renderer && (renderer->isLayoutPart() || TextIterator::supportsAltText(m_node))) { |
if (renderer->style()->visibility() == VISIBLE && m_offset > 0) |
m_handledNode = handleReplacedElement(); |
} else { |