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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 12780025: cc: Chromify rendering_stats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index cb195db1f95a759f9ba1842d21da18068fc7ceca..d029cc44bf5f4987c7104fc4060f6eaf7b34f60e 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -230,7 +230,7 @@ void LayerTreeHost::UpdateAnimations(base::TimeTicks frame_begin_time) {
AnimateLayers(frame_begin_time);
animating_ = false;
- rendering_stats_.numAnimationFrames++;
+ rendering_stats_.num_animation_frames++;
}
void LayerTreeHost::DidStopFlinging() {
@@ -346,7 +346,7 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) {
}
if (debug_state_.continuous_painting)
- host_impl->SavePaintTime(rendering_stats_.totalPaintTime, commit_number());
+ host_impl->SavePaintTime(rendering_stats_.total_paint_time, commit_number());
danakj 2013/03/20 19:00:43 80 col
commit_number_++;
}

Powered by Google App Engine
This is Rietveld 408576698