Index: cc/resources/bitmap_content_layer_updater.cc |
diff --git a/cc/resources/bitmap_content_layer_updater.cc b/cc/resources/bitmap_content_layer_updater.cc |
index 5365c4c2c5f1ad53aba5a242b2513fa65cbc0d7b..35d3bb581a5f93fedd0e23a7290a452a1636559a 100644 |
--- a/cc/resources/bitmap_content_layer_updater.cc |
+++ b/cc/resources/bitmap_content_layer_updater.cc |
@@ -4,7 +4,7 @@ |
#include "cc/resources/bitmap_content_layer_updater.h" |
-#include "cc/debug/rendering_stats.h" |
+#include "cc/debug/rendering_stats_instrumentation.h" |
#include "cc/resources/layer_painter.h" |
#include "cc/resources/prioritized_resource.h" |
#include "cc/resources/resource_update.h" |
@@ -30,13 +30,17 @@ void BitmapContentLayerUpdater::Resource::Update(ResourceUpdateQueue* queue, |
} |
scoped_refptr<BitmapContentLayerUpdater> BitmapContentLayerUpdater::Create( |
- scoped_ptr<LayerPainter> painter) { |
- return make_scoped_refptr(new BitmapContentLayerUpdater(painter.Pass())); |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) { |
+ return make_scoped_refptr( |
+ new BitmapContentLayerUpdater(painter.Pass(), stats_instrumentation)); |
} |
BitmapContentLayerUpdater::BitmapContentLayerUpdater( |
- scoped_ptr<LayerPainter> painter) |
- : ContentLayerUpdater(painter.Pass()), opaque_(false) {} |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) |
+ : ContentLayerUpdater(painter.Pass(), stats_instrumentation), |
+ opaque_(false) {} |
BitmapContentLayerUpdater::~BitmapContentLayerUpdater() {} |