diff options
Diffstat (limited to 'cc/resources/picture.cc')
-rw-r--r-- | cc/resources/picture.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/resources/picture.cc b/cc/resources/picture.cc index 8ec6e98..95c6382 100644 --- a/cc/resources/picture.cc +++ b/cc/resources/picture.cc @@ -117,8 +117,8 @@ void Picture::Record(ContentLayerClient* painter, begin_paint_time = base::TimeTicks::Now(); painter->PaintContents(canvas, layer_rect_, &opaque_layer_rect); if (stats) { - stats->total_paint_time += base::TimeTicks::Now() - begin_paint_time; - stats->total_pixels_painted += + stats->totalPaintTime += base::TimeTicks::Now() - begin_paint_time; + stats->totalPixelsPainted += layer_rect_.width() * layer_rect_.height(); } |