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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 12426024: cc: Switch RenderingStats collection in Layer::Update() to RenderingStatsInstrumentation (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index 67a45750004e86b3af59b627a2259840dba3a22e..80f957596f52cca80ad004963ffc9d71101070d3 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -694,9 +694,9 @@ public:
int paintContentsCount() { return m_paintContentsCount; }
void resetPaintContentsCount() { m_paintContentsCount = 0; }
- virtual void Update(ResourceUpdateQueue* queue, const OcclusionTracker* occlusion, RenderingStats* stats) OVERRIDE
+ virtual void Update(ResourceUpdateQueue* queue, const OcclusionTracker* occlusion) OVERRIDE
{
- ContentLayer::Update(queue, occlusion, stats);
+ ContentLayer::Update(queue, occlusion);
m_paintContentsCount++;
}
@@ -1375,7 +1375,7 @@ class EvictionTestLayer : public Layer {
public:
static scoped_refptr<EvictionTestLayer> Create() { return make_scoped_refptr(new EvictionTestLayer()); }
- virtual void Update(ResourceUpdateQueue*, const OcclusionTracker*, RenderingStats*) OVERRIDE;
+ virtual void Update(ResourceUpdateQueue*, const OcclusionTracker*) OVERRIDE;
virtual bool DrawsContent() const OVERRIDE { return true; }
virtual scoped_ptr<LayerImpl> CreateLayerImpl(LayerTreeImpl* treeImpl) OVERRIDE;
@@ -1434,7 +1434,7 @@ void EvictionTestLayer::SetTexturePriorities(const PriorityCalculator&)
m_texture->set_request_priority(PriorityCalculator::UIPriority(true));
}
-void EvictionTestLayer::Update(ResourceUpdateQueue* queue, const OcclusionTracker*, RenderingStats*)
+void EvictionTestLayer::Update(ResourceUpdateQueue* queue, const OcclusionTracker*)
{
createTextureIfNeeded();
if (!m_texture.get())

Powered by Google App Engine
This is Rietveld 408576698