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

Unified Diff: cc/test/test_occlusion_tracker.h

Issue 195803003: cc: Remove OverdrawMetrics and --trace-overdraw flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-overdraw: switches Created 6 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/layers/ui_resource_layer_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_occlusion_tracker.h
diff --git a/cc/test/test_occlusion_tracker.h b/cc/test/test_occlusion_tracker.h
index 6eec7324d9e88a3d21fea1c67e63f989ee289e14..d62f8f686e2f93d5fdfd998d6cb646959978b84c 100644
--- a/cc/test/test_occlusion_tracker.h
+++ b/cc/test/test_occlusion_tracker.h
@@ -15,10 +15,8 @@ namespace cc {
template <typename LayerType>
class TestOcclusionTracker : public OcclusionTracker<LayerType> {
public:
- TestOcclusionTracker(const gfx::Rect& screen_scissor_rect,
- bool record_metrics_for_frame)
- : OcclusionTracker<LayerType>(screen_scissor_rect,
- record_metrics_for_frame) {}
+ explicit TestOcclusionTracker(const gfx::Rect& screen_scissor_rect)
+ : OcclusionTracker<LayerType>(screen_scissor_rect) {}
Region occlusion_from_inside_target() const {
return OcclusionTracker<LayerType>::stack_.back()
« no previous file with comments | « cc/layers/ui_resource_layer_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698