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

Unified Diff: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp

Issue 2348893002: Prune createVisiblePositionDeprecated from HTMLTextFormControlElement (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 | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
index c2f5ff0be1d66cb6bd43e3631d09e4429f683e36..9a96b4a188a4ead9bf3468237d20040b6bae3411 100644
--- a/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.cpp
@@ -400,7 +400,7 @@ VisiblePosition HTMLTextFormControlElement::visiblePositionForIndex(int index) c
return VisiblePosition();
CharacterIterator it(start, end);
it.advance(index - 1);
- return createVisiblePositionDeprecated(it.endPosition(), TextAffinity::Upstream);
+ return createVisiblePosition(it.endPosition(), TextAffinity::Upstream);
}
int HTMLTextFormControlElement::indexForVisiblePosition(const VisiblePosition& pos) const
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/testing/Internals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698