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

Unified Diff: cc/trees/occlusion_tracker_unittest.cc

Issue 1588093004: Compute if a layer is drawn without LayerTree hierarchy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 5bfd312007755c13b71b2980a2ce4afdc05c65b5..84fd225b443f6fabb649f6e0130f30fd5dee3b65 100644
--- a/cc/trees/occlusion_tracker_unittest.cc
+++ b/cc/trees/occlusion_tracker_unittest.cc
@@ -2072,7 +2072,7 @@ class OcclusionTrackerTestHiddenCopyRequestDoesNotOcclude
// The |copy| layer is hidden but since it is being copied, it will be
// drawn.
- hide->SetHideLayerAndSubtree(true);
+ hide->SetOpacity(0.f);
this->CalcDrawEtc(root);

Powered by Google App Engine
This is Rietveld 408576698