summaryrefslogtreecommitdiffstats
path: root/chromium/cc/trees/occlusion_tracker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/cc/trees/occlusion_tracker.cc')
-rw-r--r--chromium/cc/trees/occlusion_tracker.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/cc/trees/occlusion_tracker.cc b/chromium/cc/trees/occlusion_tracker.cc
index e4da0f3f7c4..363461feb19 100644
--- a/chromium/cc/trees/occlusion_tracker.cc
+++ b/chromium/cc/trees/occlusion_tracker.cc
@@ -196,8 +196,7 @@ void OcclusionTracker::FinishedRenderTarget(
// If the occlusion within the surface can not be applied to things outside of
// the surface's subtree, then clear the occlusion here so it won't be used.
- if (finished_target_surface->HasMask() ||
- finished_target_surface->HasMaskingContributingSurface() ||
+ if (finished_target_surface->HasMaskingContributingSurface() ||
finished_target_surface->draw_opacity() < 1 ||
!finished_target_surface->UsesDefaultBlendMode() ||
target_is_only_for_copy_request_or_force_render_surface ||