OSDN Git Service

am 95cb21b0: Merge "Fix for gmail messages not showing after the first one. We were...
authorNicolas Roard <nicolasroard@google.com>
Thu, 10 Mar 2011 00:16:04 +0000 (16:16 -0800)
committerAndroid Git Automerger <android-git-automerger@android.com>
Thu, 10 Mar 2011 00:16:04 +0000 (16:16 -0800)
* commit '95cb21b0cde2a64281360f9e45f31f049e583273':
  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...

WebCore/platform/graphics/android/BaseTile.cpp

index 47be13b..3da0b3a 100644 (file)
@@ -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();