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

Unified Diff: cc/resources/picture_pile.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/resources/picture_pile.cc
diff --git a/cc/resources/picture_pile.cc b/cc/resources/picture_pile.cc
index e57a10333225a9eaff6bf6e7c1bd29f5e984c74a..b819de1615ce3f2cf64dd84cbd478acafc67982d 100644
--- a/cc/resources/picture_pile.cc
+++ b/cc/resources/picture_pile.cc
@@ -34,7 +34,7 @@ void PicturePile::Update(
SkColor background_color,
const Region& invalidation,
gfx::Rect visible_layer_rect,
- RenderingStats* stats) {
+ RenderingStatsInstrumentation* stats_instrumentation) {
background_color_ = background_color;
gfx::Rect interest_rect = visible_layer_rect;
@@ -101,7 +101,7 @@ void PicturePile::Update(
for (PictureList::iterator pic = pic_list.begin();
pic != pic_list.end(); ++pic) {
if (!(*pic)->HasRecording()) {
- (*pic)->Record(painter, stats, tile_grid_info_);
+ (*pic)->Record(painter, stats_instrumentation, tile_grid_info_);
(*pic)->CloneForDrawing(num_raster_threads_);
}
}

Powered by Google App Engine
This is Rietveld 408576698