summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2011-05-04 15:43:53 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-04 15:43:53 -0700
commitcb3b95731fe488eda71bb6644ed0faf3beab4b1b (patch)
tree9d437146b66b21e0a96dee7057f1884d710ae1e8 /WebKit
parent9af90425cf763d86e50a40558dad75e7531d9f66 (diff)
parentfb934b7878723bd752b558aee4047f9aee19405e (diff)
downloadexternal_webkit-cb3b95731fe488eda71bb6644ed0faf3beab4b1b.zip
external_webkit-cb3b95731fe488eda71bb6644ed0faf3beab4b1b.tar.gz
external_webkit-cb3b95731fe488eda71bb6644ed0faf3beab4b1b.tar.bz2
Merge "Correct the move latest positioning"
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/nav/WebView.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp
index fe69eae..f4f8ce0 100644
--- a/WebKit/android/nav/WebView.cpp
+++ b/WebKit/android/nav/WebView.cpp
@@ -950,6 +950,7 @@ void selectBestAt(const WebCore::IntRect& rect)
const CachedNode* node = findAt(root, rect, &frame, &rx, &ry);
if (!node) {
DBG_NAV_LOGD("no nodes found root=%p", root);
+ root->rootHistory()->setMouseBounds(rect);
m_viewImpl->m_hasCursorBounds = false;
root->setCursor(0, 0);
viewInvalidate();
@@ -963,8 +964,6 @@ void selectBestAt(const WebCore::IntRect& rect)
const_cast<CachedNode*>(node));
}
sendMoveMouseIfLatest(false, false);
- if (!node)
- return;
}
const CachedNode* m_cacheHitNode;