summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2012-03-15 10:54:49 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-03-15 10:54:49 -0700
commit96ba0dde7ae9e2db6e4558794e1f57090b5b6c2f (patch)
tree70014425f8230b1c08a723b3b7e1841d5e412b2e /Source
parentaf447b49ab0ee7f92bd3bafff01dd22913861b2f (diff)
parentb176ff8873c48c369a77cdf4436991bcb8bbcbae (diff)
downloadexternal_webkit-96ba0dde7ae9e2db6e4558794e1f57090b5b6c2f.zip
external_webkit-96ba0dde7ae9e2db6e4558794e1f57090b5b6c2f.tar.gz
external_webkit-96ba0dde7ae9e2db6e4558794e1f57090b5b6c2f.tar.bz2
Merge "Scroll cursor with edited text."
Diffstat (limited to 'Source')
-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 6e9928e..d263a22 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -2899,6 +2899,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)