| Index: cc/resources/content_layer_updater.h
|
| diff --git a/cc/resources/content_layer_updater.h b/cc/resources/content_layer_updater.h
|
| index 80b8a48b1846c4351e9cda88fce1359edf72aec8..9176f2c9867c9fbb7aa75bac1d38b0a508c94e1e 100644
|
| --- a/cc/resources/content_layer_updater.h
|
| +++ b/cc/resources/content_layer_updater.h
|
| @@ -14,13 +14,15 @@ 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,
|
| @@ -31,6 +33,8 @@ class CC_EXPORT ContentLayerUpdater : public LayerUpdater {
|
| RenderingStats* stats);
|
| gfx::Rect content_rect() const { return content_rect_; }
|
|
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation_;
|
| +
|
| private:
|
| gfx::Rect content_rect_;
|
| scoped_ptr<LayerPainter> painter_;
|
|
|