| Index: cc/bitmap_content_layer_updater.cc
|
| diff --git a/cc/bitmap_content_layer_updater.cc b/cc/bitmap_content_layer_updater.cc
|
| index 64262fba9b5bbe0aec4619dc3c19eff0a0f7a524..23d9256a574799163c3d1aebc9d07a6ea6389f03 100644
|
| --- a/cc/bitmap_content_layer_updater.cc
|
| +++ b/cc/bitmap_content_layer_updater.cc
|
| @@ -7,6 +7,7 @@
|
| #include "cc/bitmap_content_layer_updater.h"
|
|
|
| #include "cc/layer_painter.h"
|
| +#include "cc/rendering_stats.h"
|
| #include "cc/resource_update.h"
|
| #include "cc/resource_update_queue.h"
|
| #include "skia/ext/platform_canvas.h"
|
| @@ -55,6 +56,8 @@ void BitmapContentLayerUpdater::prepareToUpdate(const gfx::Rect& contentRect, co
|
| m_canvas = make_scoped_ptr(skia::CreateBitmapCanvas(m_canvasSize.width(), m_canvasSize.height(), m_opaque));
|
| }
|
|
|
| + stats.totalPixelsRasterized += contentRect.width() * contentRect.height();
|
| +
|
| paintContents(m_canvas.get(), contentRect, contentsWidthScale, contentsHeightScale, resultingOpaqueRect, stats);
|
| }
|
|
|
|
|