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

Unified Diff: third_party/WebKit/Source/core/editing/FrameCaret.cpp

Issue 2351173002: Prune CreateVisiblePositionDeprecated from FrameCaret::absoluteCaretBounds (Closed)
Patch Set: 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 | « no previous file | 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/editing/FrameCaret.cpp
diff --git a/third_party/WebKit/Source/core/editing/FrameCaret.cpp b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
index f4f1fa8f13448423957832404771e8fbac4323d9..78a623abfa1d66a43ef88c838cd7b7193f60c91b 100644
--- a/third_party/WebKit/Source/core/editing/FrameCaret.cpp
+++ b/third_party/WebKit/Source/core/editing/FrameCaret.cpp
@@ -196,9 +196,9 @@ IntRect FrameCaret::absoluteCaretBounds()
if (isVisuallyEquivalentCandidate(caretPosition().position()))
updateCaretRect(caretPosition());
else
- updateCaretRect(createVisiblePositionDeprecated(caretPosition()));
+ updateCaretRect(createVisiblePosition(caretPosition()));
} else {
- updateCaretRect(createVisiblePositionDeprecated(caretPosition()));
+ updateCaretRect(createVisiblePosition(caretPosition()));
}
}
return absoluteBoundsForLocalRect(caretPosition().position().anchorNode(), localCaretRectWithoutUpdate());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698