Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.cpp

Issue 2341273002: Prune some unnecessary calls to createVisiblePositionDeprecated (Closed)
Patch Set: Include LocalFrame::rangeForPoint Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
index 602b58a0855b4a8d8542475a60e638bc07c97c57..88f438ad70a178aabf74ee5225fcd01dfa23a718 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
@@ -715,7 +715,7 @@ EphemeralRange LocalFrame::rangeForPoint(const IntPoint& framePoint)
if (positionWithAffinity.isNull())
return EphemeralRange();
- VisiblePosition position = createVisiblePositionDeprecated(positionWithAffinity);
+ VisiblePosition position = createVisiblePosition(positionWithAffinity);
VisiblePosition previous = previousPositionOf(position);
if (previous.isNotNull()) {
const EphemeralRange previousCharacterRange = makeRange(previous, position);
« no previous file with comments | « third_party/WebKit/Source/core/editing/spellcheck/TextCheckingParagraph.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698