Index: cc/canvas_layer_texture_updater.cc |
diff --git a/cc/canvas_layer_texture_updater.cc b/cc/canvas_layer_texture_updater.cc |
index 29d4a2b69630074562345c6c8f2f012457eba7e1..a9f32798efcde436fbca699df43677554f66c601 100644 |
--- a/cc/canvas_layer_texture_updater.cc |
+++ b/cc/canvas_layer_texture_updater.cc |
@@ -57,6 +57,8 @@ void CanvasLayerTextureUpdater::paintContents(SkCanvas* canvas, const IntRect& c |
stats.totalPaintTimeInSeconds += monotonicallyIncreasingTime() - paintBeginTime; |
canvas->restore(); |
+ stats.totalPixelsPainted += contentRect.width() * contentRect.height(); |
+ |
FloatRect opaqueContentRect = opaqueLayerRect; |
opaqueContentRect.scale(contentsWidthScale, contentsHeightScale); |
resultingOpaqueRect = enclosedIntRect(opaqueContentRect); |