Chromium Code Reviews| Index: cc/picture.cc |
| =================================================================== |
| --- cc/picture.cc (revision 170195) |
| +++ cc/picture.cc (working copy) |
| @@ -68,6 +68,8 @@ |
| painter->paintContents(canvas, layer_rect, opaque_layer_rect); |
| double delta = (base::TimeTicks::Now() - beginPaintTime).InSecondsF(); |
| stats.totalPaintTimeInSeconds += delta; |
| + stats.totalPixelsPainted += opaque_layer_rect.width() * |
| + opaque_layer_rect.height(); |
| canvas->restore(); |
| picture_->endRecording(); |