summaryrefslogtreecommitdiffstats
path: root/cc/resources/caching_bitmap_content_layer_updater.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/caching_bitmap_content_layer_updater.h')
-rw-r--r--cc/resources/caching_bitmap_content_layer_updater.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/cc/resources/caching_bitmap_content_layer_updater.h b/cc/resources/caching_bitmap_content_layer_updater.h
index e77ce0c..420d6d5 100644
--- a/cc/resources/caching_bitmap_content_layer_updater.h
+++ b/cc/resources/caching_bitmap_content_layer_updater.h
@@ -14,23 +14,21 @@ namespace cc {
class CachingBitmapContentLayerUpdater : public BitmapContentLayerUpdater {
public:
static scoped_refptr<CachingBitmapContentLayerUpdater> Create(
- scoped_ptr<LayerPainter>,
- RenderingStatsInstrumentation* stats_instrumentation);
+ scoped_ptr<LayerPainter>);
virtual void PrepareToUpdate(gfx::Rect content_rect,
gfx::Size tile_size,
float contents_width_scale,
float contents_height_scale,
- gfx::Rect* resulting_opaque_rect) OVERRIDE;
+ gfx::Rect* resulting_opaque_rect,
+ RenderingStats* stats) OVERRIDE;
bool pixels_did_change() const {
return pixels_did_change_;
}
private:
- CachingBitmapContentLayerUpdater(
- scoped_ptr<LayerPainter> painter,
- RenderingStatsInstrumentation* stats_instrumentation);
+ explicit CachingBitmapContentLayerUpdater(scoped_ptr<LayerPainter> painter);
virtual ~CachingBitmapContentLayerUpdater();
bool pixels_did_change_;