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

Unified Diff: cc/contents_scaling_layer.cc

Issue 12095053: cc: Avoid expensive RenderingStats collection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits 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/contents_scaling_layer.h ('k') | cc/heads_up_display_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/contents_scaling_layer.cc
diff --git a/cc/contents_scaling_layer.cc b/cc/contents_scaling_layer.cc
index a9a8befec014616fe8be19a3c2da93378dd75c4f..5d3502bcca73b7b8e42e4c41371c2d18cf0cd11e 100644
--- a/cc/contents_scaling_layer.cc
+++ b/cc/contents_scaling_layer.cc
@@ -41,7 +41,7 @@ void ContentsScalingLayer::didUpdateBounds() {
void ContentsScalingLayer::update(
ResourceUpdateQueue& queue,
const OcclusionTracker* occlusion,
- RenderingStats& stats) {
+ RenderingStats* stats) {
if (drawProperties().contents_scale_x == last_update_contents_scale_x_ &&
drawProperties().contents_scale_y == last_update_contents_scale_y_)
return;
« no previous file with comments | « cc/contents_scaling_layer.h ('k') | cc/heads_up_display_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698