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

Unified Diff: cc/test/fake_layer_tree_host_impl.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
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_picture_layer_tiling_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index 334ff9fa66e921175a0bc7b4d25c7fc106c67a37..c1c3ddfc9e33e7d1f88adbf20f7b4d5aeccfee0e 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -7,7 +7,12 @@
namespace cc {
FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy)
- : LayerTreeHostImpl(LayerTreeSettings(), &client_, proxy) {
+ : rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()),
tapted 2013/03/21 02:27:22 sheriff drive-by: I'm .. pretty sure the compiler
+ LayerTreeHostImpl(LayerTreeSettings(),
+ &client_,
+ proxy,
+ rendering_stats_instrumentation_.get())
+{
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());
}
@@ -15,7 +20,12 @@ FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(Proxy* proxy)
FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
const LayerTreeSettings& settings,
Proxy* proxy)
- : LayerTreeHostImpl(settings, &client_, proxy) {
+ : rendering_stats_instrumentation_(RenderingStatsInstrumentation::Create()),
+ LayerTreeHostImpl(settings,
+ &client_,
+ proxy,
+ rendering_stats_instrumentation_.get())
+{
// Explicitly clear all debug settings.
SetDebugState(LayerTreeDebugState());
}
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/fake_picture_layer_tiling_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698