Index: cc/resources/bitmap_content_layer_updater.h |
diff --git a/cc/resources/bitmap_content_layer_updater.h b/cc/resources/bitmap_content_layer_updater.h |
index 0597f824f2d4d40f4ee4de1c55942f169d57fd62..5d45608ce0e0f8cf96559ecbd10113765288eff8 100644 |
--- a/cc/resources/bitmap_content_layer_updater.h |
+++ b/cc/resources/bitmap_content_layer_updater.h |
@@ -13,6 +13,7 @@ class SkCanvas; |
namespace cc { |
class LayerPainter; |
+class RenderingStatsInstrumenation; |
// This class rasterizes the content_rect into a skia bitmap canvas. It then |
// updates textures by copying from the canvas into the texture, using |
@@ -38,7 +39,8 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater { |
}; |
static scoped_refptr<BitmapContentLayerUpdater> Create( |
- scoped_ptr<LayerPainter> painter); |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumenation); |
virtual scoped_ptr<LayerUpdater::Resource> CreateResource( |
PrioritizedResourceManager* manager) OVERRIDE; |
@@ -57,7 +59,9 @@ class CC_EXPORT BitmapContentLayerUpdater : public ContentLayerUpdater { |
virtual void SetOpaque(bool opaque) OVERRIDE; |
protected: |
- explicit BitmapContentLayerUpdater(scoped_ptr<LayerPainter> painter); |
+ BitmapContentLayerUpdater( |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumenation); |
virtual ~BitmapContentLayerUpdater(); |
scoped_ptr<SkCanvas> canvas_; |