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

Unified Diff: cc/CCLayerTreeHostImpl.cpp

Issue 10914304: Add average commit time to perf tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix bug with texture_upload_benchmark.py Created 8 years, 3 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/CCLayerTreeHostImpl.h ('k') | cc/CCProxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHostImpl.cpp
diff --git a/cc/CCLayerTreeHostImpl.cpp b/cc/CCLayerTreeHostImpl.cpp
index 93c9dd301d22bb4604076e1e7d91695daf00b883..479348230892e799dbfa1596f84d39483b501013 100644
--- a/cc/CCLayerTreeHostImpl.cpp
+++ b/cc/CCLayerTreeHostImpl.cpp
@@ -1284,10 +1284,10 @@ int CCLayerTreeHostImpl::sourceAnimationFrameNumber() const
return fpsCounter()->currentFrameNumber();
}
-void CCLayerTreeHostImpl::renderingStats(CCRenderingStats& stats) const
+void CCLayerTreeHostImpl::renderingStats(CCRenderingStats* stats) const
{
- stats.numFramesSentToScreen = fpsCounter()->currentFrameNumber();
- stats.droppedFrameCount = fpsCounter()->droppedFrameCount();
+ stats->numFramesSentToScreen = fpsCounter()->currentFrameNumber();
+ stats->droppedFrameCount = fpsCounter()->droppedFrameCount();
}
void CCLayerTreeHostImpl::animateScrollbars(double monotonicTime)
« no previous file with comments | « cc/CCLayerTreeHostImpl.h ('k') | cc/CCProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698