summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-03-15 10:12:53 -0700
committerGeorge Mount <mount@google.com>2012-03-15 10:12:53 -0700
commitb176ff8873c48c369a77cdf4436991bcb8bbcbae (patch)
tree76986f5d69cd95fad95c6b6ea8a6dd8c69870414
parente9fba4d8c72fd8f537f6edd246115bf816ac0033 (diff)
downloadexternal_webkit-b176ff8873c48c369a77cdf4436991bcb8bbcbae.zip
external_webkit-b176ff8873c48c369a77cdf4436991bcb8bbcbae.tar.gz
external_webkit-b176ff8873c48c369a77cdf4436991bcb8bbcbae.tar.bz2
Scroll cursor with edited text.
Bug 6175492 Change-Id: I0f36e3ff371df1b8941a47ee910c0729cd5a01e1
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index 443a100..b0f1176 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -2896,6 +2896,7 @@ void WebViewCore::scrollFocusedTextInput(float xPercent, int y)
renderText->clientWidth()));
renderText->setScrollLeft(x);
renderText->setScrollTop(y);
+ focus->document()->frame()->selection()->recomputeCaretRect();
}
void WebViewCore::setFocusControllerActive(bool active)