Index: Source/core/editing/TextIterator.cpp |
diff --git a/Source/core/editing/TextIterator.cpp b/Source/core/editing/TextIterator.cpp |
index 974ae2b6fbea5a358ace88d83c4dd688c4ba22fb..c00ec55da10a35ebd0f5a198462cdafe1d1a2e95 100644 |
--- a/Source/core/editing/TextIterator.cpp |
+++ b/Source/core/editing/TextIterator.cpp |
@@ -1004,7 +1004,7 @@ static int maxOffsetIncludingCollapsedSpaces(Node* node) |
// Whether or not we should emit a character as we enter m_node (if it's a container) or as we hit it (if it's atomic). |
bool TextIterator::shouldRepresentNodeOffsetZero() |
{ |
- if (m_emitsCharactersBetweenAllVisiblePositions && isRenderedTable(m_node)) |
+ if (m_emitsCharactersBetweenAllVisiblePositions && isRenderedTableElement(m_node)) |
return true; |
// Leave element positioned flush with start of a paragraph |
@@ -1060,7 +1060,7 @@ bool TextIterator::shouldRepresentNodeOffsetZero() |
bool TextIterator::shouldEmitSpaceBeforeAndAfterNode(Node* node) |
{ |
- return isRenderedTable(node) && (node->renderer()->isInline() || m_emitsCharactersBetweenAllVisiblePositions); |
+ return isRenderedTableElement(node) && (node->renderer()->isInline() || m_emitsCharactersBetweenAllVisiblePositions); |
} |
void TextIterator::representNodeOffsetZero() |