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

Unified Diff: cc/layers/picture_layer.cc

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (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/layers/picture_layer.cc
diff --git a/cc/layers/picture_layer.cc b/cc/layers/picture_layer.cc
index de270a61224134ff54256d5db5c9428b2917e48f..431615cdf58744ce84f17dc5accb101f93cdb8cb 100644
--- a/cc/layers/picture_layer.cc
+++ b/cc/layers/picture_layer.cc
@@ -68,8 +68,7 @@ void PictureLayer::SetNeedsDisplayRect(const gfx::RectF& layer_rect) {
}
void PictureLayer::Update(ResourceUpdateQueue*,
- const OcclusionTracker*,
- RenderingStats* stats) {
+ const OcclusionTracker*) {
// Do not early-out of this function so that PicturePile::Update has a chance
// to record pictures due to changing visibility of this layer.
@@ -87,7 +86,7 @@ void PictureLayer::Update(ResourceUpdateQueue*,
background_color(),
pile_invalidation_,
visible_layer_rect,
- stats);
+ rendering_stats_instrumentation());
}
void PictureLayer::SetIsMask(bool is_mask) {

Powered by Google App Engine
This is Rietveld 408576698