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

Unified Diff: cc/layer_tree_host.cc

Issue 12728002: cc: Chromify the OverdrawMetrics class. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host.cc
diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc
index 7629472562c660f8cf2a5af52e299aa3363baa68..ebd68c8331ddf5f639dbb0049d0f0bc23f74e790 100644
--- a/cc/layer_tree_host.cc
+++ b/cc/layer_tree_host.cc
@@ -671,8 +671,8 @@ void LayerTreeHost::prioritizeTextures(const LayerList& renderSurfaceLayerList,
setPrioritiesForLayers(renderSurfaceLayerList);
setPrioritiesForSurfaces(memoryForRenderSurfacesMetric);
- metrics.didUseContentsTextureMemoryBytes(m_contentsTextureManager->memoryAboveCutoffBytes());
- metrics.didUseRenderSurfaceTextureMemoryBytes(memoryForRenderSurfacesMetric);
+ metrics.DidUseContentsTextureMemoryBytes(m_contentsTextureManager->memoryAboveCutoffBytes());
+ metrics.DidUseRenderSurfaceTextureMemoryBytes(memoryForRenderSurfacesMetric);
m_contentsTextureManager->prioritizeTextures();
}
@@ -755,7 +755,7 @@ bool LayerTreeHost::paintLayerContents(const LayerList& renderSurfaceLayerList,
occlusionTracker.LeaveLayer(it);
}
- occlusionTracker.OverdrawMetrics().recordMetrics(this);
+ occlusionTracker.OverdrawMetrics().RecordMetrics(this);
return needMoreUpdates;
}
« no previous file with comments | « no previous file | cc/layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698