| 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;
|
| }
|
|
|
|
|