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-03-11 17:42:32 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-11 17:42:32 +0000
commit58eb89ca5da6dcacb8e2e31ce90a7a1daa654947 (patch)
tree0437dedfc089f72cd2a248060fd81555eed95ad0 /webkit/glue/webtextinput_impl.cc
parent67adc80656447c9ff324cd01749fa5e9496b47f2 (diff)
downloadchromium_src-58eb89ca5da6dcacb8e2e31ce90a7a1daa654947.zip
chromium_src-58eb89ca5da6dcacb8e2e31ce90a7a1daa654947.tar.gz
chromium_src-58eb89ca5da6dcacb8e2e31ce90a7a1daa654947.tar.bz2
Revert merge (revision 11400) to test impact on page cycler perf.
TBR=jar Review URL: http://codereview.chromium.org/43085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webtextinput_impl.cc')
-rw-r--r--webkit/glue/webtextinput_impl.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/webkit/glue/webtextinput_impl.cc b/webkit/glue/webtextinput_impl.cc
index e169dbd..3155863 100644
--- a/webkit/glue/webtextinput_impl.cc
+++ b/webkit/glue/webtextinput_impl.cc
@@ -112,8 +112,8 @@ void WebTextInputImpl::MarkedRange(std::string* range_str) {
// Range::toString() returns a string different from what test expects.
// So we need to construct the string ourselves.
- SStringPrintf(range_str, "%d,%d", range->startPosition().m_offset,
- range->endPosition().m_offset);
+ SStringPrintf(range_str, "%d,%d", range->startPosition().offset(),
+ range->endPosition().offset());
}
void WebTextInputImpl::SelectedRange(std::string* range_str) {
@@ -122,8 +122,8 @@ void WebTextInputImpl::SelectedRange(std::string* range_str) {
// Range::toString() returns a string different from what test expects.
// So we need to construct the string ourselves.
- SStringPrintf(range_str, "%d,%d", range.get()->startPosition().m_offset,
- range.get()->endPosition().m_offset);
+ SStringPrintf(range_str, "%d,%d", range.get()->startPosition().offset(),
+ range.get()->endPosition().offset());
}
void WebTextInputImpl::FirstRectForCharacterRange(int32_t location,
@@ -153,3 +153,4 @@ void WebTextInputImpl::DeleteToEndOfParagraph() {
false);
}
}
+