summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2012-01-04 13:43:26 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-04 13:43:26 -0800
commit2cc4497f17622689c7cd981e220795762660df5c (patch)
tree80115827b2920b3f46c25b73f47d0db46353127b /Source/WebCore/platform/graphics/android
parent41aebb2b842adadd00ec4d6682160e05d4e24f63 (diff)
parent0d7be54f39958e22bdc62849abfdf979b76f4383 (diff)
downloadexternal_webkit-2cc4497f17622689c7cd981e220795762660df5c.zip
external_webkit-2cc4497f17622689c7cd981e220795762660df5c.tar.gz
external_webkit-2cc4497f17622689c7cd981e220795762660df5c.tar.bz2
Merge "When loading new content, reset zoom state - DO NOT MERGE" into ics-mr1
Diffstat (limited to 'Source/WebCore/platform/graphics/android')
-rw-r--r--Source/WebCore/platform/graphics/android/GLWebViewState.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
index 273c478..262d270 100644
--- a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -130,6 +130,7 @@ void GLWebViewState::setBaseLayer(BaseLayerAndroid* layer, const SkRegion& inval
{
if (!layer || isPictureAfterFirstLayout) {
// TODO: move this into TreeManager
+ m_zoomManager.swapPages(); // reset zoom state
m_tiledPageA->discardTextures();
m_tiledPageB->discardTextures();
}