diff options
Diffstat (limited to 'cc/canvas_layer_texture_updater.h')
-rw-r--r-- | cc/canvas_layer_texture_updater.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cc/canvas_layer_texture_updater.h b/cc/canvas_layer_texture_updater.h index bf67176..09da606 100644 --- a/cc/canvas_layer_texture_updater.h +++ b/cc/canvas_layer_texture_updater.h @@ -11,22 +11,22 @@ class SkCanvas; namespace cc { -class LayerPainterChromium; +class LayerPainter; // Base class for BitmapCanvasLayerTextureUpdater and // SkPictureCanvasLayerTextureUpdater that reduces code duplication between // their respective paintContents implementations. class CanvasLayerTextureUpdater : public LayerTextureUpdater { protected: - explicit CanvasLayerTextureUpdater(scoped_ptr<LayerPainterChromium>); + explicit CanvasLayerTextureUpdater(scoped_ptr<LayerPainter>); virtual ~CanvasLayerTextureUpdater(); - void paintContents(SkCanvas*, const IntRect& contentRect, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, CCRenderingStats&); + void paintContents(SkCanvas*, const IntRect& contentRect, float contentsWidthScale, float contentsHeightScale, IntRect& resultingOpaqueRect, RenderingStats&); const IntRect& contentRect() const { return m_contentRect; } private: IntRect m_contentRect; - scoped_ptr<LayerPainterChromium> m_painter; + scoped_ptr<LayerPainter> m_painter; }; } // namespace cc |