Index: cc/resources/bitmap_skpicture_content_layer_updater.cc |
diff --git a/cc/resources/bitmap_skpicture_content_layer_updater.cc b/cc/resources/bitmap_skpicture_content_layer_updater.cc |
index e721891568c0b34e29660acb6f2f9946da8b70aa..1a2ebee9c9067f8e8c1a5c5f0a654cb86f7b1f02 100644 |
--- a/cc/resources/bitmap_skpicture_content_layer_updater.cc |
+++ b/cc/resources/bitmap_skpicture_content_layer_updater.cc |
@@ -5,7 +5,7 @@ |
#include "cc/resources/bitmap_skpicture_content_layer_updater.h" |
#include "base/time.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_queue.h" |
@@ -47,14 +47,18 @@ void BitmapSkPictureContentLayerUpdater::Resource::Update( |
} |
scoped_refptr<BitmapSkPictureContentLayerUpdater> |
-BitmapSkPictureContentLayerUpdater::Create(scoped_ptr<LayerPainter> painter) { |
+BitmapSkPictureContentLayerUpdater::Create( |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) { |
return make_scoped_refptr( |
- new BitmapSkPictureContentLayerUpdater(painter.Pass())); |
+ new BitmapSkPictureContentLayerUpdater(painter.Pass(), |
+ stats_instrumentation)); |
} |
BitmapSkPictureContentLayerUpdater::BitmapSkPictureContentLayerUpdater( |
- scoped_ptr<LayerPainter> painter) |
- : SkPictureContentLayerUpdater(painter.Pass()) {} |
+ scoped_ptr<LayerPainter> painter, |
+ RenderingStatsInstrumentation* stats_instrumentation) |
+ : SkPictureContentLayerUpdater(painter.Pass(), stats_instrumentation) {} |
BitmapSkPictureContentLayerUpdater::~BitmapSkPictureContentLayerUpdater() {} |