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

Unified Diff: third_party/WebKit/Source/core/html/TextControlElement.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/html/TextControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/TextControlElement.cpp b/third_party/WebKit/Source/core/html/TextControlElement.cpp
index e7e5ad0aac7f7b1094dec12d9ecc3770171f7abf..082ff0bf6a1d384889894224d326602a12b37227 100644
--- a/third_party/WebKit/Source/core/html/TextControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/TextControlElement.cpp
@@ -541,7 +541,7 @@ unsigned TextControlElement::ComputeSelectionEnd() const {
}
const VisibleSelection& visible_selection =
frame->Selection().ComputeVisibleSelectionInDOMTreeDeprecated();
- return IndexForPosition(InnerEditorElement(), visible_selection.end());
+ return IndexForPosition(InnerEditorElement(), visible_selection.End());
}
static const AtomicString& DirectionString(

Powered by Google App Engine
This is Rietveld 408576698