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-10 04:41:16 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 04:41:16 +0000
commit0f7e89ab86dcde4e18861ea8a1ffb81a60bf620c (patch)
tree2fb238509bed80a6157d15d7a6dcfd734241ee98 /webkit/glue/webtextinput_impl.cc
parentd6049a2ba7398f9bf803d2d30f59af9f321efc72 (diff)
downloadchromium_src-0f7e89ab86dcde4e18861ea8a1ffb81a60bf620c.zip
chromium_src-0f7e89ab86dcde4e18861ea8a1ffb81a60bf620c.tar.gz
chromium_src-0f7e89ab86dcde4e18861ea8a1ffb81a60bf620c.tar.bz2
Re-land the WebKit merge 40722:40785.
TBR=amanda Review URL: http://codereview.chromium.org/21197 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9462 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.