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

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

Issue 2343363006: Prune CreateVisiblePositionDeprecated from DragCaretController (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/DragCaretController.cpp
diff --git a/third_party/WebKit/Source/core/editing/DragCaretController.cpp b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
index 947bb1925fb5ad846e7e983494137f5b6cddf834..abaed388c6ad74d1c5c7aceabbb39b6bfb4a7e92 100644
--- a/third_party/WebKit/Source/core/editing/DragCaretController.cpp
+++ b/third_party/WebKit/Source/core/editing/DragCaretController.cpp
@@ -69,7 +69,7 @@ void DragCaretController::setCaretPosition(const PositionWithAffinity& position)
if (Node* node = m_position.deepEquivalent().anchorNode())
m_caretBase->invalidateCaretRect(node);
- m_position = createVisiblePositionDeprecated(position);
+ m_position = createVisiblePosition(position);
yosin_UTC9 2016/09/20 07:45:59 Note: Since we call |DragCaretController::setCaret
Document* document = nullptr;
if (Node* node = m_position.deepEquivalent().anchorNode()) {
m_caretBase->invalidateCaretRect(node);
« 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