summaryrefslogtreecommitdiffstats
path: root/WebCore/platform/graphics/android/BaseTile.cpp
diff options
context:
space:
mode:
authorNicolas Roard <nicolasroard@google.com>2011-03-09 16:08:15 -0800
committerNicolas Roard <nicolasroard@google.com>2011-03-09 16:11:14 -0800
commitc15781f45f0d19a925be7fd73bd10c318562db70 (patch)
treea7846f4cae968695d0ad53774c1c6a4edd63cb10 /WebCore/platform/graphics/android/BaseTile.cpp
parent67e4aa15702646d5ff50e9524f4e63eb9ed20122 (diff)
downloadexternal_webkit-c15781f45f0d19a925be7fd73bd10c318562db70.zip
external_webkit-c15781f45f0d19a925be7fd73bd10c318562db70.tar.gz
external_webkit-c15781f45f0d19a925be7fd73bd10c318562db70.tar.bz2
Fix for gmail messages not showing after the first one.
We were not resetting the unusable state (set by the clearView() function) when receiving new content... bug:4080072 Change-Id: Ie1110b511392b0a7fd21bbc23aa1b824eb8a78ad
Diffstat (limited to 'WebCore/platform/graphics/android/BaseTile.cpp')
-rw-r--r--WebCore/platform/graphics/android/BaseTile.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/android/BaseTile.cpp b/WebCore/platform/graphics/android/BaseTile.cpp
index 47be13b..3da0b3a 100644
--- a/WebCore/platform/graphics/android/BaseTile.cpp
+++ b/WebCore/platform/graphics/android/BaseTile.cpp
@@ -381,6 +381,9 @@ void BaseTile::paintBitmap()
if (!m_currentDirtyArea->isEmpty())
m_dirty = true;
+ if (!m_dirty)
+ m_usable = true;
+
m_painting = false;
m_atomicSync.unlock();