Index: cc/resources/skpicture_content_layer_updater.cc |
diff --git a/cc/resources/skpicture_content_layer_updater.cc b/cc/resources/skpicture_content_layer_updater.cc |
index 6ce3df8c402f30212a51f54baa43efecb0077a04..4276a1e215acd1ca14af023044dd7f5f12010756 100644 |
--- a/cc/resources/skpicture_content_layer_updater.cc |
+++ b/cc/resources/skpicture_content_layer_updater.cc |
@@ -29,14 +29,19 @@ void SkPictureContentLayerUpdater::Resource::Update(ResourceUpdateQueue* queue, |
} |
SkPictureContentLayerUpdater::SkPictureContentLayerUpdater( |
- scoped_ptr<LayerPainter> painter) |
- : ContentLayerUpdater(painter.Pass()), layer_is_opaque_(false) {} |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) |
+ : ContentLayerUpdater(painter.Pass(), stats_instrumentation), |
+ layer_is_opaque_(false) {} |
SkPictureContentLayerUpdater::~SkPictureContentLayerUpdater() {} |
scoped_refptr<SkPictureContentLayerUpdater> |
-SkPictureContentLayerUpdater::Create(scoped_ptr<LayerPainter> painter) { |
- return make_scoped_refptr(new SkPictureContentLayerUpdater(painter.Pass())); |
+SkPictureContentLayerUpdater::Create( |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) { |
+ return make_scoped_refptr( |
+ new SkPictureContentLayerUpdater(painter.Pass(), stats_instrumentation)); |
} |
scoped_ptr<LayerUpdater::Resource> SkPictureContentLayerUpdater::CreateResource( |