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

Unified Diff: cc/output/overlay_strategy_sandwich.cc

Issue 1373373003: Mac Overlays: Add AllOrNothing strategy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@OverlayTest
Patch Set: Rebase off master Created 5 years, 3 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/output/overlay_strategy_common.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/overlay_strategy_sandwich.cc
diff --git a/cc/output/overlay_strategy_sandwich.cc b/cc/output/overlay_strategy_sandwich.cc
index 1171eddd5c61d95bb1735f879e4730e0304c07de..63032a76e55f8e62423233879e92ee754f05d5c3 100644
--- a/cc/output/overlay_strategy_sandwich.cc
+++ b/cc/output/overlay_strategy_sandwich.cc
@@ -117,7 +117,7 @@ OverlayResult OverlayStrategySandwich::TryOverlay(
// Check for support.
capability_checker->CheckOverlaySupport(&new_candidate_list);
for (const OverlayCandidate& candidate : new_candidate_list) {
- if (candidate.plane_z_order > 0 && !candidate.overlay_handled)
+ if (!candidate.overlay_handled)
return DID_NOT_CREATE_OVERLAY;
}
« no previous file with comments | « cc/output/overlay_strategy_common.cc ('k') | cc/output/overlay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698