summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
diff options
context:
space:
mode:
authorTeng-Hui Zhu <ztenghui@google.com>2012-05-22 14:23:23 -0700
committerTeng-Hui Zhu <ztenghui@google.com>2012-05-22 14:27:09 -0700
commit178513cf52b5aab6eafffcb01ba27364c074e12e (patch)
treef61ccdb8fa87c80400e4533a101104b97fb9a525 /Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
parentfa25b832c863e0ff0a57de465f3e45e51ce780a6 (diff)
downloadexternal_webkit-178513cf52b5aab6eafffcb01ba27364c074e12e.zip
external_webkit-178513cf52b5aab6eafffcb01ba27364c074e12e.tar.gz
external_webkit-178513cf52b5aab6eafffcb01ba27364c074e12e.tar.bz2
We need to clear the items even when seeing obsolete tiles
bug:6531360 Change-Id: Ia23ddeb56d384c4e3904cabf787bbe72be4a6f08
Diffstat (limited to 'Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp')
-rw-r--r--Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp b/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
index f273091..58e7d7b 100644
--- a/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
+++ b/Source/WebCore/platform/graphics/android/rendering/TransferQueue.cpp
@@ -375,6 +375,7 @@ void TransferQueue::updateDirtyTiles()
if (obsoleteTile) {
ALOGV("Warning: the texture is obsolete for this baseTile");
+ clearItemInTranferQueue(index);
index = (index + 1) % m_transferQueueSize;
continue;
}