summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2011-04-04 19:00:14 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2011-04-04 19:00:14 -0700
commitf5b8d538f8fb1cf9a6fe7eac2bd58e3b550f5505 (patch)
tree787c4952a9dcf416da9d08f4c41aefb36269165d
parente7c63dbaf937c9e5d6496718538831e481fd4c7e (diff)
parenta33d490302a04453e2c671114d30a4ee93cb08f1 (diff)
downloadexternal_webkit-f5b8d538f8fb1cf9a6fe7eac2bd58e3b550f5505.zip
external_webkit-f5b8d538f8fb1cf9a6fe7eac2bd58e3b550f5505.tar.gz
external_webkit-f5b8d538f8fb1cf9a6fe7eac2bd58e3b550f5505.tar.bz2
am a33d4903: Fix tile vanishing act
* commit 'a33d490302a04453e2c671114d30a4ee93cb08f1': Fix tile vanishing act
-rw-r--r--WebCore/platform/graphics/android/GLWebViewState.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/WebCore/platform/graphics/android/GLWebViewState.cpp b/WebCore/platform/graphics/android/GLWebViewState.cpp
index 189b3f0..e5034d4 100644
--- a/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -313,7 +313,8 @@ void GLWebViewState::swapPages()
android::Mutex::Autolock lock(m_tiledPageLock);
m_usePageA ^= true;
TiledPage* working = m_usePageA ? m_tiledPageB : m_tiledPageA;
- TilesManager::instance()->resetTextureUsage(working);
+ if (m_scaleRequestState != kNoScaleRequest)
+ TilesManager::instance()->resetTextureUsage(working);
m_scaleRequestState = kNoScaleRequest;
}