diff options
Diffstat (limited to 'cc/resources/caching_bitmap_content_layer_updater.cc')
-rw-r--r-- | cc/resources/caching_bitmap_content_layer_updater.cc | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/cc/resources/caching_bitmap_content_layer_updater.cc b/cc/resources/caching_bitmap_content_layer_updater.cc index 78f6097..42e462b 100644 --- a/cc/resources/caching_bitmap_content_layer_updater.cc +++ b/cc/resources/caching_bitmap_content_layer_updater.cc @@ -11,14 +11,19 @@ namespace cc { scoped_refptr<CachingBitmapContentLayerUpdater> -CachingBitmapContentLayerUpdater::Create(scoped_ptr<LayerPainter> painter) { +CachingBitmapContentLayerUpdater::Create( + scoped_ptr<LayerPainter> painter, + RenderingStatsInstrumentation* stats_instrumentation) { return make_scoped_refptr( - new CachingBitmapContentLayerUpdater(painter.Pass())); + new CachingBitmapContentLayerUpdater(painter.Pass(), + stats_instrumentation)); } CachingBitmapContentLayerUpdater::CachingBitmapContentLayerUpdater( - scoped_ptr<LayerPainter> painter) - : BitmapContentLayerUpdater(painter.Pass()), pixels_did_change_(false) {} + scoped_ptr<LayerPainter> painter, + RenderingStatsInstrumentation* stats_instrumentation) + : BitmapContentLayerUpdater(painter.Pass(), stats_instrumentation), + pixels_did_change_(false) {} CachingBitmapContentLayerUpdater::~CachingBitmapContentLayerUpdater() {} |