diff options
Diffstat (limited to 'WebCore/platform/graphics')
-rw-r--r-- | WebCore/platform/graphics/android/GLWebViewState.cpp | 3 |
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; } |