summaryrefslogtreecommitdiffstats
path: root/WebKit/android/jni/WebViewCore.cpp
diff options
context:
space:
mode:
authorCary Clark <cary@android.com>2009-06-15 17:17:16 -0400
committerCary Clark <cary@android.com>2009-06-16 09:48:44 -0400
commit36a7b8f4e59056e7a230ee8f0e25bf615edc2b67 (patch)
tree322704091d04a7938aba12983254efbb81600833 /WebKit/android/jni/WebViewCore.cpp
parent90bd422df8e04c486d29c4041acf1c4cf7c3b155 (diff)
downloadexternal_webkit-36a7b8f4e59056e7a230ee8f0e25bf615edc2b67.zip
external_webkit-36a7b8f4e59056e7a230ee8f0e25bf615edc2b67.tar.gz
external_webkit-36a7b8f4e59056e7a230ee8f0e25bf615edc2b67.tar.bz2
disable superpudu fix in webkit
The fix to track the cursor ring closer to the animation of the gmail floating message bar adversely affects loading performance, so disable it for now. See http://b/1918741
Diffstat (limited to 'WebKit/android/jni/WebViewCore.cpp')
-rw-r--r--WebKit/android/jni/WebViewCore.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp
index 7ae2210..08e3cad 100644
--- a/WebKit/android/jni/WebViewCore.cpp
+++ b/WebKit/android/jni/WebViewCore.cpp
@@ -489,7 +489,10 @@ void WebViewCore::recordPictureSet(PictureSet* content)
bool update = m_lastFocused != oldFocusNode
|| m_lastFocusedBounds != oldBounds || m_findIsUp
|| (m_check_domtree_version && latestVersion != m_domtree_version);
- if (!update && m_hasCursorBounds) { // avoid mutex when possible
+ // This block is specifically for the floating bar in gmail messages
+ // it has been disabled because it adversely affects the performance
+ // of loading all pages.
+ if (false && !update && m_hasCursorBounds) { // avoid mutex when possible
bool hasCursorBounds;
void* cursorNode;
gCursorBoundsMutex.lock();