OSDN Git Service

don't short-circuit if the text selection has changed
authorCary Clark <cary@android.com>
Fri, 25 Sep 2009 13:47:59 +0000 (09:47 -0400)
committerCary Clark <cary@android.com>
Fri, 25 Sep 2009 13:47:59 +0000 (09:47 -0400)
commit22a6ea4bb37dc6e22fb998cf887d9fa6de07bdc6
tree32c2cb0ee03f155c3ad1d50ac77dd2856f54d352
parent7e7a0fd96b7d18fa3562af3b2bb4c7516fe9babe
don't short-circuit if the text selection has changed

The webkit picture is rebuilt pretty often -- for performance,
the nav cache is built less often, only when the dom version changes.

Additionally, it's rebuilt when the focus changes or moves. Add
a condition so that it is also rebuilt if the focus selection changes.

fixes http://b/issue?id=2096746
WebKit/android/jni/WebViewCore.cpp
WebKit/android/jni/WebViewCore.h