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

Unified Diff: cc/test/fake_picture_layer_tiling_client.cc

Issue 12519006: cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Early out in methods, pass raw pointers, updated tests 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/test/fake_picture_layer_tiling_client.cc
diff --git a/cc/test/fake_picture_layer_tiling_client.cc b/cc/test/fake_picture_layer_tiling_client.cc
index b0e6c8b9d12ae8ecac7f6bddf82a274be5799250..a2ac00420f8e9007246d42af52d778e71b4087aa 100644
--- a/cc/test/fake_picture_layer_tiling_client.cc
+++ b/cc/test/fake_picture_layer_tiling_client.cc
@@ -21,7 +21,14 @@ class FakeInfinitePicturePileImpl : public PicturePileImpl
};
FakePictureLayerTilingClient::FakePictureLayerTilingClient()
- : tile_manager_(&tile_manager_client_, NULL, 1, false, false, false),
+ : rendering_stats_recorder_(RenderingStatsRecorder::create()),
+ tile_manager_(&tile_manager_client_,
+ NULL,
+ 1,
+ rendering_stats_recorder_.get(),
+ false,
+ false,
+ false),
pile_(new FakeInfinitePicturePileImpl()) {
}

Powered by Google App Engine
This is Rietveld 408576698