summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
index 5ca430b47..744a6a027 100644
--- a/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
+++ b/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedImageBacking.cpp
@@ -92,8 +92,10 @@ void CoordinatedImageBacking::removeHost(Host* host)
ASSERT(position != notFound);
m_hosts.remove(position);
- if (m_hosts.isEmpty())
+ if (m_hosts.isEmpty()) {
m_client->removeImageBacking(id());
+ m_clearContentsTimer.stop();
+ }
}
void CoordinatedImageBacking::markDirty()