Index: Source/core/editing/iterators/BackwardsCharacterIterator.cpp |
diff --git a/Source/core/editing/iterators/BackwardsCharacterIterator.cpp b/Source/core/editing/iterators/BackwardsCharacterIterator.cpp |
index b009bcfd3276b80d9da3a2cd5ee7ad2bb11fa080..0a2e98debdc0b9d9e6a540d0a8bd6a163e69f64e 100644 |
--- a/Source/core/editing/iterators/BackwardsCharacterIterator.cpp |
+++ b/Source/core/editing/iterators/BackwardsCharacterIterator.cpp |
@@ -46,7 +46,7 @@ PositionAlgorithm<Strategy> BackwardsCharacterIteratorAlgorithm<Strategy>::endPo |
if (!m_textIterator.atEnd()) { |
if (m_textIterator.length() > 1) { |
Node* n = m_textIterator.startContainer(); |
- return PositionAlgorithm<Strategy>::createLegacyEditingPosition(n, m_textIterator.endOffset() - m_runOffset); |
+ return PositionAlgorithm<Strategy>::editingPositionOf(n, m_textIterator.endOffset() - m_runOffset); |
} |
ASSERT(!m_runOffset); |
} |