| Index: cc/resources/content_layer_updater.h
|
| diff --git a/cc/resources/content_layer_updater.h b/cc/resources/content_layer_updater.h
|
| index bedc6147f17981fabf4b703933330b67238a1e1e..3eededf7f4f4d96f9ed6c0173a9a497618b3a7c8 100644
|
| --- a/cc/resources/content_layer_updater.h
|
| +++ b/cc/resources/content_layer_updater.h
|
| @@ -14,23 +14,26 @@ class SkCanvas;
|
| namespace cc {
|
|
|
| class LayerPainter;
|
| +class RenderingStatsInstrumentation;
|
|
|
| // Base class for BitmapContentLayerUpdater and
|
| // SkPictureContentLayerUpdater that reduces code duplication between
|
| // their respective paintContents implementations.
|
| class CC_EXPORT ContentLayerUpdater : public LayerUpdater {
|
| protected:
|
| - explicit ContentLayerUpdater(scoped_ptr<LayerPainter> painter);
|
| + ContentLayerUpdater(scoped_ptr<LayerPainter> painter,
|
| + RenderingStatsInstrumentation* stats_instrumentation);
|
| virtual ~ContentLayerUpdater();
|
|
|
| void PaintContents(SkCanvas* canvas,
|
| gfx::Rect content_rect,
|
| float contents_width_scale,
|
| float contents_height_scale,
|
| - gfx::Rect* resulting_opaque_rect,
|
| - RenderingStats* stats);
|
| + gfx::Rect* resulting_opaque_rect);
|
| gfx::Rect content_rect() const { return content_rect_; }
|
|
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation_;
|
| +
|
| private:
|
| gfx::Rect content_rect_;
|
| scoped_ptr<LayerPainter> painter_;
|
|
|