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

Unified Diff: cc/CCLayerTreeHost.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/CCLayerTreeHost.h ('k') | cc/CCLayerTreeHostImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCLayerTreeHost.cpp
diff --git a/cc/CCLayerTreeHost.cpp b/cc/CCLayerTreeHost.cpp
index 4122dcfa1c4d5c0001a8171b29002fbd4dbe8b41..ceeb5368e8eb0e95e9e90685ba6b36f33e4e4a9a 100644
--- a/cc/CCLayerTreeHost.cpp
+++ b/cc/CCLayerTreeHost.cpp
@@ -346,10 +346,10 @@ void CCLayerTreeHost::finishAllRendering()
m_proxy->finishAllRendering();
}
-void CCLayerTreeHost::renderingStats(CCRenderingStats& stats) const
+void CCLayerTreeHost::renderingStats(CCRenderingStats* stats) const
{
- stats = m_renderingStats;
- m_proxy->implSideRenderingStats(stats);
+ *stats = m_renderingStats;
+ m_proxy->renderingStats(stats);
}
const RendererCapabilities& CCLayerTreeHost::rendererCapabilities() const
« no previous file with comments | « cc/CCLayerTreeHost.h ('k') | cc/CCLayerTreeHostImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698