diff options
author | egraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-28 01:34:23 +0000 |
---|---|---|
committer | egraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-28 01:34:23 +0000 |
commit | 9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c (patch) | |
tree | 6bd583ba9641f1a2ca0ad2a654b3ef0eaed86091 /cc/trees/layer_tree_host_unittest.cc | |
parent | bd78698c1116e009d8219fa514ba9a7cae40f96e (diff) | |
download | chromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.zip chromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.tar.gz chromium_src-9d4f41f8736543f85752ea4a8f8d0fb709c1eb1c.tar.bz2 |
cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation
This change switches all of the remaining RenderingStats collection in
composited mode to use RenderinStatsInstrumentation.
BUG=181319
Review URL: https://chromiumcodereview.appspot.com/12426024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/trees/layer_tree_host_unittest.cc')
-rw-r--r-- | cc/trees/layer_tree_host_unittest.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc index da2d891..c131feb 100644 --- a/cc/trees/layer_tree_host_unittest.cc +++ b/cc/trees/layer_tree_host_unittest.cc @@ -563,9 +563,8 @@ class ContentLayerWithUpdateTracking : public ContentLayer { void ResetPaintContentsCount() { paint_contents_count_ = 0; } virtual void Update(ResourceUpdateQueue* queue, - const OcclusionTracker* occlusion, - RenderingStats* stats) OVERRIDE { - ContentLayer::Update(queue, occlusion, stats); + const OcclusionTracker* occlusion) OVERRIDE { + ContentLayer::Update(queue, occlusion); paint_contents_count_++; } @@ -1230,8 +1229,7 @@ class EvictionTestLayer : public Layer { } virtual void Update(ResourceUpdateQueue*, - const OcclusionTracker*, - RenderingStats*) OVERRIDE; + const OcclusionTracker*) OVERRIDE; virtual bool DrawsContent() const OVERRIDE { return true; } virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* tree_impl) @@ -1291,8 +1289,7 @@ void EvictionTestLayer::SetTexturePriorities(const PriorityCalculator&) { } void EvictionTestLayer::Update(ResourceUpdateQueue* queue, - const OcclusionTracker*, - RenderingStats*) { + const OcclusionTracker*) { CreateTextureIfNeeded(); if (!texture_.get()) return; |