summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h')
-rw-r--r--Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
index 61ddfb92a..16e4ebad0 100644
--- a/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
+++ b/Source/WebCore/platform/graphics/texmap/GraphicsLayerTextureMapper.h
@@ -112,7 +112,9 @@ private:
void prepareBackingStoreIfNeeded();
bool shouldHaveBackingStore() const;
+ // TextureMapperPlatformLayer::Client methods:
virtual void setPlatformLayerNeedsDisplay() OVERRIDE { setContentsNeedsDisplay(); }
+ virtual void platformLayerWasDestroyed() OVERRIDE { m_contentsLayer = 0; }
// This set of flags help us defer which properties of the layer have been
// modified by the compositor, so we can know what to look for in the next flush.