diff options
author | Nicolas Roard <nicolas@android.com> | 2010-10-25 01:25:04 -0700 |
---|---|---|
committer | Nicolas Roard <nicolas@android.com> | 2010-10-25 15:51:32 -0700 |
commit | ce60793c641bf3292a62b176449f94c85e64263f (patch) | |
tree | 03366922df78ca974862cae7c1bfe82978dbe756 /WebCore/platform/graphics/android/BaseTile.cpp | |
parent | 32f4b921e70a60d19c3330cffc87f26761c6f38b (diff) | |
download | external_webkit-ce60793c641bf3292a62b176449f94c85e64263f.zip external_webkit-ce60793c641bf3292a62b176449f94c85e64263f.tar.gz external_webkit-ce60793c641bf3292a62b176449f94c85e64263f.tar.bz2 |
Remove any scheduled painting for BaseTile that are going to be deallocated.
Change-Id: I9f46df074fedb3b157f54b2f03b33ecc80fca9ab
Diffstat (limited to 'WebCore/platform/graphics/android/BaseTile.cpp')
-rw-r--r-- | WebCore/platform/graphics/android/BaseTile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/platform/graphics/android/BaseTile.cpp b/WebCore/platform/graphics/android/BaseTile.cpp index b72cb6d..47a154c 100644 --- a/WebCore/platform/graphics/android/BaseTile.cpp +++ b/WebCore/platform/graphics/android/BaseTile.cpp @@ -79,8 +79,6 @@ BaseTile::BaseTile(TiledPage* page, int x, int y) BaseTile::~BaseTile() { - removeTexture(); - setUsedLevel(-1); #ifdef DEBUG_COUNT gBaseTileCount--; #endif @@ -144,6 +142,7 @@ bool BaseTile::isBitmapReady() // Called from the texture generation thread bool BaseTile::paintBitmap() { + XLOG("paintBitmap(%x) %d, %d with page %x", this, m_x, m_y, m_page); // the mutex ensures you are reading the most current value m_varLock.lock(); const int x = m_x; |