diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 02:38:52 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-21 02:38:52 +0000 |
commit | bcab0049604f31d3f2a3ee13a55167b2e5c63c5f (patch) | |
tree | a64b9d5bb5e5e84c2121a822666ab48ff51a02fa /cc/trees/tree_synchronizer_unittest.cc | |
parent | bfee8bd5b7b7ee3ee7f21008cd6a320cb42ce863 (diff) | |
download | chromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.zip chromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.tar.gz chromium_src-bcab0049604f31d3f2a3ee13a55167b2e5c63c5f.tar.bz2 |
Revert 189475 "cc:: Add RenderingStatsInstrumentation to manage ..."
semi-speculative revert for cc_unittests failures - see bug.
> cc:: Add RenderingStatsInstrumentation to manage collection of RenderingStats
>
> This change adds the class RenderingStatsInstrumentation that manages conditional
> saving and thread-specific access to a private RenderingStats instance.
> An instance of RenderingStatsRecorder is created on LayerTreeHost, which
> passes references to LayerTreeHostImpl and TileManager. Access to reading
> and writing on the internal RenderingStats instance is guarded by a lock.
>
> All rendering stats saving in LayerTreeHost, Single-/ThreadProxy,
> LayerTreeHostImpl and TileManager has been switched to use the
> RenderingStatsInstrumentation. Stats collection within Layer::update() still
> follows the original structure to keep this change small.
>
> BUG=181319
> NOTRY=true
>
> Review URL: https://chromiumcodereview.appspot.com/12519006
TBR=egraether@chromium.org
Review URL: https://codereview.chromium.org/12544031
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189497 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/tree_synchronizer_unittest.cc')
-rw-r--r-- | cc/trees/tree_synchronizer_unittest.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc index 69da214..3b1632c 100644 --- a/cc/trees/tree_synchronizer_unittest.cc +++ b/cc/trees/tree_synchronizer_unittest.cc @@ -484,13 +484,8 @@ 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, - stats_instrumentation.get()); + LayerTreeHostImpl::Create(settings, NULL, &proxy); scoped_refptr<Layer> layer_tree_root = Layer::Create(); |