diff options
Diffstat (limited to 'webkit/glue/webtextinput_impl.cc')
-rw-r--r-- | webkit/glue/webtextinput_impl.cc | 2 |
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. |