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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 2846653002: cc : Stop pushing layers from hidden subtrees at commit
Patch Set: fix cc_unittests after rebase Created 3 years, 7 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 a0218f644974bf64ffe07f71fd2749440ce15b7c..5463e399fcebe0940fa8d267a4990eb8ac87e9b3 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -1993,7 +1993,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