| Index: cc/BitmapCanvasLayerTextureUpdater.cpp
|
| diff --git a/cc/BitmapCanvasLayerTextureUpdater.cpp b/cc/BitmapCanvasLayerTextureUpdater.cpp
|
| index 35fb5a0eb3026e44db35f99f64045cfdaeae0995..cf33583cd218b3d858be5cec0adef0d5df2ea7eb 100644
|
| --- a/cc/BitmapCanvasLayerTextureUpdater.cpp
|
| +++ b/cc/BitmapCanvasLayerTextureUpdater.cpp
|
| @@ -9,6 +9,8 @@
|
|
|
| #include "BitmapCanvasLayerTextureUpdater.h"
|
|
|
| +#include "CCRenderingStats.h"
|
| +
|
| #include "LayerPainterChromium.h"
|
| #include "PlatformColor.h"
|
| #include "skia/ext/platform_canvas.h"
|
| @@ -64,6 +66,8 @@ void BitmapCanvasLayerTextureUpdater::prepareToUpdate(const IntRect& contentRect
|
| m_canvas = adoptPtr(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);
|
| }
|
|
|
|
|