summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2011-12-08 11:53:56 -0800
committerChris Craik <ccraik@google.com>2011-12-08 13:00:58 -0800
commit6747a4b2a78a544c7ce235cefc826e9595fd441f (patch)
tree12d8cdc55b9cde7550446acd84866a562381abd8 /Source
parente50c6da15806ff91b5e9298cb303f2b8f9ae6b35 (diff)
downloadexternal_webkit-6747a4b2a78a544c7ce235cefc826e9595fd441f.zip
external_webkit-6747a4b2a78a544c7ce235cefc826e9595fd441f.tar.gz
external_webkit-6747a4b2a78a544c7ce235cefc826e9595fd441f.tar.bz2
Reset framework inval when done zooming
bug:5726709 Framework invals are not valid when zooming completes because much content outside the rect will have changed from zooming. Change-Id: I72e4509e13bf97ea90f09716699e66c1c3f9acd8
Diffstat (limited to 'Source')
-rw-r--r--Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp
index 7ec2d78..9c7716c 100644
--- a/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp
+++ b/Source/WebCore/platform/graphics/android/BaseLayerAndroid.cpp
@@ -264,6 +264,7 @@ bool BaseLayerAndroid::prepareBasePictureInGL(SkRect& viewport, float scale,
// the two pages (current one and future one with the new scale factor)
if (zoomManager->didReceivedRequest()) {
float nextTiledPageTransparency = 1;
+ m_state->resetFrameworkInval();
zoomManager->processTransition(currentTime, scale, &doZoomPageSwap,
&nextTiledPageTransparency, &transparency);
nextTiledPage->prepareForDrawGL(nextTiledPageTransparency, viewportTileBounds);