summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2011-10-10 15:58:27 -0700
committerChris Craik <ccraik@google.com>2011-10-11 14:46:00 -0700
commit959c08a729d39539327aeb634dbce69524e7b678 (patch)
treee9652bd8a5e0d3d356f37b57c2bd3405d0ef3a98 /Source/WebCore/platform/graphics/android/GLWebViewState.cpp
parent8242049005e7219ea9846eff8eff3cead8e2461e (diff)
downloadexternal_webkit-959c08a729d39539327aeb634dbce69524e7b678.zip
external_webkit-959c08a729d39539327aeb634dbce69524e7b678.tar.gz
external_webkit-959c08a729d39539327aeb634dbce69524e7b678.tar.bz2
Mark tiles discarded by TransferQueue as dirty
bug:5409902 Tiles were being discarded from the queue (and simply unsuccessfully added). This caused them to get stuck in the 'ValidatedUntransferred' state. Now if a tile isn't added successfully, or if it's discarded, it removes its painting texture and will have to repaint from scratch. Change-Id: I551e00fb8a6be3b0f3cabeabaa91e8b8b30019d5
Diffstat (limited to 'Source/WebCore/platform/graphics/android/GLWebViewState.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/GLWebViewState.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
index 9f266d2..113ccde 100644
--- a/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
+++ b/Source/WebCore/platform/graphics/android/GLWebViewState.cpp
@@ -205,7 +205,8 @@ void GLWebViewState::inval(const IntRect& rect)
m_currentPictureCounter++;
if (!rect.isEmpty()) {
// find which tiles fall within the invalRect and mark them as dirty
- frontPage()->invalidateRect(rect, m_currentPictureCounter);
+ m_tiledPageA->invalidateRect(rect, m_currentPictureCounter);
+ m_tiledPageB->invalidateRect(rect, m_currentPictureCounter);
if (m_frameworkInval.isEmpty())
m_frameworkInval = rect;
else