Index: third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
diff --git a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
index 5e0f9e3a5658b435542549d33f3cac89ae3260d1..d0abaa69a3b99f1e1e3a27f05fe8b62422e9bfca 100644 |
--- a/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
+++ b/third_party/WebKit/Source/core/editing/PlainTextRange.cpp |
@@ -113,7 +113,7 @@ EphemeralRange PlainTextRange::createRangeFor(const ContainerNode& scope, GetRan |
if (!it.atEnd()) { |
textRunEndPosition = it.startPositionInCurrentContainer(); |
} else { |
- Position runEnd = nextPositionOf(createVisiblePosition(textRunStartPosition)).deepEquivalent(); |
+ Position runEnd = nextPositionOf(createVisiblePositionDeprecated(textRunStartPosition)).deepEquivalent(); |
if (runEnd.isNotNull()) |
textRunEndPosition = runEnd; |
} |