Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3140)

Unified Diff: cc/picture_pile_impl.cc

Issue 11896002: [cc] Use base::TimeTicks in RenderStats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: renderwidget too Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/picture.cc ('k') | cc/raster_worker_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_pile_impl.cc
diff --git a/cc/picture_pile_impl.cc b/cc/picture_pile_impl.cc
index 8475f49dc43561524946a17c70f987127346a233..ba9d13d18bd4a92479933bf37cf67f2c87ada7c7 100644
--- a/cc/picture_pile_impl.cc
+++ b/cc/picture_pile_impl.cc
@@ -88,8 +88,7 @@ void PicturePileImpl::Raster(
}
canvas->restore();
- stats->totalRasterizeTimeInSeconds += (base::TimeTicks::Now() -
- rasterizeBeginTime).InSecondsF();
+ stats->totalRasterizeTime += base::TimeTicks::Now() - rasterizeBeginTime;
}
void PicturePileImpl::GatherPixelRefs(
« no previous file with comments | « cc/picture.cc ('k') | cc/raster_worker_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698