Prevent a crash in CompositorAnimations::CheckCanStartEffectOnCompositor
The reason for the crash and the reason for the flaky layout tests are the same, we didn't check the |layout_object| in that function. Locally when I run the flaky layout tests, I can get at least 1 crash every 10 runs. With this CL, I got no crash with 20 runs for each test. Bug: 1018027, 1018596 Change-Id: Ib9113324d42950f280ef0125b34e453db1427282 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1883621Reviewed-by:Yi Gu <yigu@chromium.org> Reviewed-by:
Stephen McGruer <smcgruer@chromium.org> Commit-Queue: Xida Chen <xidachen@chromium.org> Cr-Commit-Position: refs/heads/master@{#711246}
Showing
Please register or sign in to comment