diff options
| author | Leon Scroggins <scroggo@google.com> | 2010-01-07 12:38:02 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2010-01-07 12:38:02 -0800 |
| commit | e44f974f1d7e25a2823901e0f34c04aa924b7527 (patch) | |
| tree | 96ee36ee92837ce5452a7eabfbde61aaa6910a85 /WebKit/android | |
| parent | 6864ec3c0bb8b5cc0dfa126546419113e946661a (diff) | |
| parent | 15f1e443f22288ee82cde972517ebf3cc1153d97 (diff) | |
| download | external_webkit-e44f974f1d7e25a2823901e0f34c04aa924b7527.zip external_webkit-e44f974f1d7e25a2823901e0f34c04aa924b7527.tar.gz external_webkit-e44f974f1d7e25a2823901e0f34c04aa924b7527.tar.bz2 | |
am 15f1e443: In motionUp, update the CachedHistory\'s mMouseBounds.
Merge commit '15f1e443f22288ee82cde972517ebf3cc1153d97' into eclair-mr2-plus-aosp
* commit '15f1e443f22288ee82cde972517ebf3cc1153d97':
In motionUp, update the CachedHistory's mMouseBounds.
Diffstat (limited to 'WebKit/android')
| -rw-r--r-- | WebKit/android/nav/WebView.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp index 89e6023..1267647 100644 --- a/WebKit/android/nav/WebView.cpp +++ b/WebKit/android/nav/WebView.cpp @@ -967,7 +967,9 @@ bool motionUp(int x, int y, int slop) } DBG_NAV_LOGD("CachedNode:%p (%d) x=%d y=%d rx=%d ry=%d", result, result->index(), x, y, rx, ry); - setNavBounds(WebCore::IntRect(rx, ry, 1, 1)); + WebCore::IntRect navBounds = WebCore::IntRect(rx, ry, 1, 1); + setNavBounds(navBounds); + root->rootHistory()->setMouseBounds(navBounds); updateCursorBounds(root, frame, result); root->setCursor(const_cast<CachedFrame*>(frame), const_cast<CachedNode*>(result)); |
