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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2846653002: cc : Stop pushing layers from hidden subtrees at commit
Patch Set: . Created 3 years, 8 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/occlusion_tracker_unittest.cc
diff --git a/cc/trees/occlusion_tracker_unittest.cc b/cc/trees/occlusion_tracker_unittest.cc
index 8f635a30ccd3a7a6062fd909f772891a6e0d014d..97e952c02afa304c625ede7926b76d9e835c68b1 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1991,7 +1991,7 @@ class OcclusionTrackerTestHiddenCopyRequestDoesNotOcclude
// The |copy| layer is hidden but since it is being copied, it will be
// drawn.
- hide->test_properties()->hide_layer_and_subtree = true;
+ hide->test_properties()->opacity = 0.f;
this->CalcDrawEtc(root);

Powered by Google App Engine
This is Rietveld 408576698