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

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

Issue 2920733002: Rename VisibleSelection::end() to End() (Closed)
Patch Set: 2017-06-01T18:31:38 Created 3 years, 7 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/InsertIncrementalTextCommand.cpp
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp b/third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp
index b15347a136747d23cbff41dc7fbb2c095c39a892..0fea90813dce60c59ed0899bd1df8a4d82e51cee 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp
+++ b/third_party/WebKit/Source/core/editing/commands/InsertIncrementalTextCommand.cpp
@@ -137,7 +137,7 @@ void InsertIncrementalTextCommand::DoApply(EditingState* editing_state) {
DCHECK(element);
const EphemeralRange selection_range(EndingSelection().Start(),
- EndingSelection().end());
+ EndingSelection().End());
const String old_text = PlainText(selection_range);
const String& new_text = text_;
@@ -163,7 +163,7 @@ void InsertIncrementalTextCommand::DoApply(EditingState* editing_state) {
EndingSelection().IsDirectional());
SetEndingSelectionWithoutValidation(selection_for_insertion.Start(),
- selection_for_insertion.end());
+ selection_for_insertion.End());
InsertTextCommand::DoApply(editing_state);
}

Powered by Google App Engine
This is Rietveld 408576698