| 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 35d3bb581a5f93fedd0e23a7290a452a1636559a..d3e739fc4f0153257f97ecfbcc4be652bd266771 100644
|
| --- a/cc/resources/bitmap_content_layer_updater.cc
|
| +++ b/cc/resources/bitmap_content_layer_updater.cc
|
| @@ -63,10 +63,13 @@ void BitmapContentLayerUpdater::PrepareToUpdate(
|
| canvas_size_.width(), canvas_size_.height(), opaque_));
|
| }
|
|
|
| - if (stats) {
|
| - stats->total_pixels_rasterized +=
|
| - content_rect.width() * content_rect.height();
|
| - }
|
| + printf("BitmapContentLayerUpdater::PrepareToUpdate\n");
|
| +
|
| + // TODO: Clarify if this needs to be saved here. crbug.com/223693
|
| + rendering_stats_instrumentation_->AddRaster(
|
| + base::TimeDelta(),
|
| + content_rect.width() * content_rect.height(),
|
| + false);
|
|
|
| PaintContents(canvas_.get(),
|
| content_rect,
|
|
|