diff options
author | Russell Brenner <russellbrenner@google.com> | 2011-05-25 11:04:21 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-05-25 11:04:21 -0700 |
commit | a65177a6c88816d4319790c570f783ec9957fb5a (patch) | |
tree | 8428f4632696df953bfcc18d37edc208cba7555d | |
parent | 169e3aa6c57ccfe3b6c1d52259cb1eee06b03dcd (diff) | |
parent | 29ce486d7bb8336c3aa85f41189e3d6fb3cc6d56 (diff) | |
download | external_webkit-a65177a6c88816d4319790c570f783ec9957fb5a.zip external_webkit-a65177a6c88816d4319790c570f783ec9957fb5a.tar.gz external_webkit-a65177a6c88816d4319790c570f783ec9957fb5a.tar.bz2 |
Merge "merge from honeycomb mr2"
-rw-r--r-- | Source/WebKit/android/jni/WebViewCore.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/WebKit/android/jni/WebViewCore.cpp b/Source/WebKit/android/jni/WebViewCore.cpp index f4ef9a5..0b5845b 100644 --- a/Source/WebKit/android/jni/WebViewCore.cpp +++ b/Source/WebKit/android/jni/WebViewCore.cpp @@ -569,11 +569,6 @@ void WebViewCore::recordPictureSet(PictureSet* content) DBG_SET_LOG("!m_mainFrame->document()"); return; } - // If there is a pending style recalculation, just return. - if (m_mainFrame->document()->isPendingStyleRecalc()) { - LOGW("recordPictureSet: pending style recalc, ignoring."); - return; - } if (m_addInval.isEmpty()) { DBG_SET_LOG("m_addInval.isEmpty()"); return; @@ -918,6 +913,11 @@ BaseLayerAndroid* WebViewCore::createBaseLayer() BaseLayerAndroid* WebViewCore::recordContent(SkRegion* region, SkIPoint* point) { DBG_SET_LOG("start"); + // If there is a pending style recalculation, just return. + if (m_mainFrame->document()->isPendingStyleRecalc()) { + DBG_SET_LOGD("recordContent: pending style recalc, ignoring."); + return 0; + } float progress = (float) m_mainFrame->page()->progress()->estimatedProgress(); m_progressDone = progress <= 0.0f || progress >= 1.0f; recordPictureSet(&m_content); |