OSDN Git Service

fix crash reading readonly node state
authorCary Clark <cary@android.com>
Mon, 7 Dec 2009 15:36:50 +0000 (10:36 -0500)
committerCary Clark <cary@android.com>
Mon, 7 Dec 2009 15:56:46 +0000 (10:56 -0500)
commit34bca311c8205ee40379adac2ef4da01e401600e
treee7c8953b36817fe68bb9a569371289fb904ee51a
parentdcbb033aafed2abc472f0d88520869a6b1f1945b
fix crash reading readonly node state

Something about rebuildTextView() invalidates the current cached
frame -- reading the last obtained frame after calling it may
crash. Why, I don't know. Until I figure that out, read the
cached state first.

Also remove some tests for null frame and node since the null
case has already been handled earlierin motionUp().

fixes http://b/2307964
WebKit/android/nav/WebView.cpp