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

Unified Diff: cc/trees/tree_synchronizer_unittest.cc

Issue 12519006: cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to LayerTreeTest 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/tree_synchronizer_unittest.cc
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc
index 3b1632c8e0cc7c1d8496b6abddd555e98d43a149..69da2140113881df307728abb8e0c8d27baefc0d 100644
--- a/cc/trees/tree_synchronizer_unittest.cc
+++ b/cc/trees/tree_synchronizer_unittest.cc
@@ -484,8 +484,13 @@ TEST_F(TreeSynchronizerTest, SynchronizeAnimations) {
LayerTreeSettings settings;
FakeProxy proxy(scoped_ptr<Thread>(NULL));
DebugScopedSetImplThread impl(&proxy);
+ scoped_ptr<RenderingStatsInstrumentation> stats_instrumentation =
+ RenderingStatsInstrumentation::Create();
scoped_ptr<LayerTreeHostImpl> host_impl =
- LayerTreeHostImpl::Create(settings, NULL, &proxy);
+ LayerTreeHostImpl::Create(settings,
+ NULL,
+ &proxy,
+ stats_instrumentation.get());
scoped_refptr<Layer> layer_tree_root = Layer::Create();

Powered by Google App Engine
This is Rietveld 408576698