OSDN Git Service

pass the current cursor when computing the mouse position
authorCary Clark <cary@android.com>
Wed, 28 Oct 2009 14:39:06 +0000 (10:39 -0400)
committerCary Clark <cary@android.com>
Wed, 28 Oct 2009 15:26:45 +0000 (11:26 -0400)
commit7b035dc1012763a04adddc6de25256647fea50bd
tree2d2edab4b2254cd112860886e058869b97e97911
parent466006e4a13fd557d7b35c1fe0b7a38384e5ce2e
pass the current cursor when computing the mouse position

Most of the time, the simulated mouse position can be
computed from the current cursor. But when the cursor
is changed, the current cursor info could be out of
date and generate a bus error.

fixes http://b/issue?id=2061211
WebKit/android/nav/CachedRoot.cpp
WebKit/android/nav/CachedRoot.h
WebKit/android/nav/WebView.cpp