diff options
author | Russell Brenner <russellbrenner@google.com> | 2011-05-25 09:17:06 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-05-25 09:17:06 -0700 |
commit | 06295b42c1937e8da9932a105dbb47d75977a6f6 (patch) | |
tree | de01a41b79b64a35820aa4b0ccb4bad6907cda99 /WebKit/android/jni/WebViewCore.cpp | |
parent | 891974e8053115e15fdcf669bd052cbaaf372003 (diff) | |
parent | 4ce956cc43762bec0962eae9707369b235c354a2 (diff) | |
download | external_webkit-06295b42c1937e8da9932a105dbb47d75977a6f6.zip external_webkit-06295b42c1937e8da9932a105dbb47d75977a6f6.tar.gz external_webkit-06295b42c1937e8da9932a105dbb47d75977a6f6.tar.bz2 |
am 4ce956cc: am 3d487c65: Merge "DO NOT MERGE-Move check for pending style recalc" into honeycomb-mr2
* commit '4ce956cc43762bec0962eae9707369b235c354a2':
DO NOT MERGE-Move check for pending style recalc
Diffstat (limited to 'WebKit/android/jni/WebViewCore.cpp')
-rw-r--r-- | WebKit/android/jni/WebViewCore.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/WebKit/android/jni/WebViewCore.cpp b/WebKit/android/jni/WebViewCore.cpp index 1d9c26b..92f2962 100644 --- a/WebKit/android/jni/WebViewCore.cpp +++ b/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); |