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

Unified Diff: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp

Issue 2341053002: Mark the createVisiblePosition overloads as deprecated (Closed)
Patch Set: minor revision 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
Index: third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
index 0cae339cf81745a6fc2738aa12c84fb43d510871..bad48fa0f146c3161668fa0d18d52d0e776f69c5 100644
--- a/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
@@ -66,7 +66,7 @@ void MoveSelectionCommand::doApply(EditingState* editingState)
if (!pos.isConnected())
pos = endingSelection().start();
- cleanupAfterDeletion(editingState, createVisiblePosition(pos));
+ cleanupAfterDeletion(editingState, createVisiblePositionDeprecated(pos));
if (editingState->isAborted())
return;

Powered by Google App Engine
This is Rietveld 408576698