diff options
Diffstat (limited to 'WebCore/platform/graphics/chromium/ContentLayerChromium.h')
-rw-r--r-- | WebCore/platform/graphics/chromium/ContentLayerChromium.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/WebCore/platform/graphics/chromium/ContentLayerChromium.h b/WebCore/platform/graphics/chromium/ContentLayerChromium.h index 42a77c7..412ba06 100644 --- a/WebCore/platform/graphics/chromium/ContentLayerChromium.h +++ b/WebCore/platform/graphics/chromium/ContentLayerChromium.h @@ -49,6 +49,7 @@ public: virtual void updateContents(); virtual void draw(); virtual bool drawsContent() { return m_owner && m_owner->drawsContent(); } + virtual void setLayerRenderer(LayerRendererChromium*); // Stores values that are shared between instances of this class that are // associated with the same LayerRendererChromium (and hence the same GL @@ -79,6 +80,8 @@ protected: void updateTextureRect(void* pixels, const IntSize& bitmapSize, const IntSize& requiredTextureSize, const IntRect& updateRect, unsigned textureId); + void cleanupResources(); + unsigned m_contentsTexture; IntSize m_allocatedTextureSize; bool m_skipsDraw; |