summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-10-19 18:10:34 -0700
committerJohn Reck <jreck@google.com>2011-10-19 18:10:34 -0700
commit5718420083b3f3f3e275bd7cc69477634b8f6d3f (patch)
treee97e2fd13b5c45df38aa47db9aff5a3addc259a5 /Source
parentd76089f28a901fd7694a3574f0c8036febdb1103 (diff)
downloadexternal_webkit-5718420083b3f3f3e275bd7cc69477634b8f6d3f.zip
external_webkit-5718420083b3f3f3e275bd7cc69477634b8f6d3f.tar.gz
external_webkit-5718420083b3f3f3e275bd7cc69477634b8f6d3f.tar.bz2
Force a navcache update before requesting keyboard
Bug: 5453541 Change-Id: I209d96d6cd567f7d548549e3e9e5004df045226b
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/android/jni/WebViewCore.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp
index f35f768..d7a61aa 100644
--- a/Source/WebKit/android/jni/WebViewCore.cpp
+++ b/Source/WebKit/android/jni/WebViewCore.cpp
@@ -3367,6 +3367,10 @@ bool WebViewCore::handleMouseClick(WebCore::Frame* framePtr, WebCore::Node* node
if (!fake) {
RenderTextControl* rtc
= static_cast<RenderTextControl*> (renderer);
+ // Force an update of the navcache as this will fire off a
+ // message to WebView that *must* have an updated focus.
+ m_frameCacheOutOfDate = true;
+ updateFrameCache();
requestKeyboardWithSelection(focusNode, rtc->selectionStart(),
rtc->selectionEnd());
}