Revert "[Blink/SPv175+] Change DCHECK(chunk clip escaped layer clip) to a DLOG"
This reverts commit bb7972c1. Reason for revert: crbug.com/882642 Original change's description: > [Blink/SPv175+] Change DCHECK(chunk clip escaped layer clip) to a DLOG > > The PaintChunkToCcLayer algorithm was originally designed for > SPv2 compositor, and it was expected the layerization algorithm should > never assign a chunk to a excessively clipped layer, thus the DCHECK. > > Later this algorithm was adopted in SPv175 to be used with the > SPv1 compositor. There is a known bug that in certain corner case we > can fail to escape clip, and the bug is difficult to fix in the > legacy architecture. The DCHECK is expected to be a "soft" one that > we have a fail-safe path to recover in a sane way. > > This CL converts the DCHECK to a DLOG in SPv1 mode, and it should still > trap in SPv2 mode. In addition, it reverts a workaround to a nullptr > bug in the fail-safe path, and add a test for the fail-safe. > > BUG=881788,853357 > > Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel > Change-Id: I4606acf4885f3344bb45a901bb2e8e46dbcda49a > Reviewed-on: https://chromium-review.googlesource.com/1213952 > Reviewed-by: vmpstr <vmpstr@chromium.org> > Reviewed-by: Philip Rogers <pdr@chromium.org> > Commit-Queue: Tien-Ren Chen <trchen@chromium.org> > Cr-Commit-Position: refs/heads/master@{#590052} TBR=vmpstr@chromium.org,trchen@chromium.org,pdr@chromium.org Change-Id: I8f669d48422eb2cc3bb21db2d4866857710c3fbb No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 881788, 853357 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Reviewed-on: https://chromium-review.googlesource.com/1217712Reviewed-by:Tien-Ren Chen <trchen@chromium.org> Commit-Queue: Tien-Ren Chen <trchen@chromium.org> Cr-Commit-Position: refs/heads/master@{#590114}
Showing
Please register or sign in to comment