[LCP] regression tentative fix
This CL adds some optimization to do an early return when we know that the PaintTimingDetectors are not going to do any work. This is the case when the documentElement is visible and there is some opacity:0 (as those paints are going to be ignored), as well as when the documentElement is invisible and there is an opacity:0 depth higher than 1. Bug: 1113723, 1113411, 1113067 Change-Id: If7a5a0224a89aa1da659b177da0d45d8dca30d57 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2360480Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#799242}
Showing
Please register or sign in to comment