summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webtextinput_impl.cc
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 22:16:51 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 22:16:51 +0000
commitaf416dfd64790147f1b25c634b4054907e54ba12 (patch)
treeb3d8f2a01a9501d34434b059c4f64739db49ce82 /webkit/glue/webtextinput_impl.cc
parent6aaed0ca1a04edac5bedb7bbd0cf620ae9acb037 (diff)
downloadchromium_src-af416dfd64790147f1b25c634b4054907e54ba12.zip
chromium_src-af416dfd64790147f1b25c634b4054907e54ba12.tar.gz
chromium_src-af416dfd64790147f1b25c634b4054907e54ba12.tar.bz2
WebKit merge 40722:40785 (part 2)
Account for the renaming of toRange to toNormalizedRange done by Eric Seidel. R=amanda Review URL: http://codereview.chromium.org/20192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9427 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webtextinput_impl.cc')
-rw-r--r--webkit/glue/webtextinput_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webtextinput_impl.cc b/webkit/glue/webtextinput_impl.cc
index 015da9c..3155863 100644
--- a/webkit/glue/webtextinput_impl.cc
+++ b/webkit/glue/webtextinput_impl.cc
@@ -118,7 +118,7 @@ void WebTextInputImpl::MarkedRange(std::string* range_str) {
void WebTextInputImpl::SelectedRange(std::string* range_str) {
WTF::RefPtr<WebCore::Range> range
- = GetFrame()->selection()->toRange();
+ = GetFrame()->selection()->toNormalizedRange();
// Range::toString() returns a string different from what test expects.
// So we need to construct the string ourselves.