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

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: Rebase to 190965 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/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_unittest_occlusion.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 da2d89147cd86724b004e66a0dff7c4769557656..c131febdfc39c2345a95102c3ba02b4ab9d51c42 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;
« no previous file with comments | « cc/trees/layer_tree_host_impl.h ('k') | cc/trees/layer_tree_host_unittest_occlusion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698