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

Unified Diff: third_party/WebKit/Source/core/editing/Editor.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/Editor.cpp
diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
index 459034657393d31623397c0c3fd4915dd4814736..cd7eee62db88beb3231996e948d18f3050e10848 100644
--- a/third_party/WebKit/Source/core/editing/Editor.cpp
+++ b/third_party/WebKit/Source/core/editing/Editor.cpp
@@ -1598,7 +1598,7 @@ bool Editor::FindString(const String& target, FindOptions options) {
// TODO(yosin) We should make |findRangeOfString()| to return
// |EphemeralRange| rather than|Range| object.
Range* result_range = FindRangeOfString(
- target, EphemeralRange(selection.Start(), selection.end()),
+ target, EphemeralRange(selection.Start(), selection.End()),
static_cast<FindOptions>(options | kFindAPICall));
if (!result_range)

Powered by Google App Engine
This is Rietveld 408576698