Check the frame tree for each frame before compositing.
This fixes several clusterfuzz issues, which are caused by frames being freed in between calls to CompositeWithRaster(). With this CL, a fresh list of frames is requested and checked for the next one, to avoid using deleted frames. Note that with this CL: https://chromium-review.googlesource.com/c/chromium/src/+/1252141 those calls are asynchronous. Also note that this CL: https://chromium-review.googlesource.com/c/chromium/src/+/1213864 caused this code to get called much more frequently, for all layout tests. Here are the clusterfuzz issues: https://clusterfuzz.com/v2/testcase-detail/5701500434907136 https://clusterfuzz.com/v2/testcase-detail/4929420383748096 https://clusterfuzz.com/v2/testcase-detail/4996950557196288 Bug: 900087, 899465, 899450 Change-Id: I70fc7c723b2118f4796289fe9b7272c42b6e50e5 Reviewed-on: https://chromium-review.googlesource.com/c/1308038Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
vmpstr <vmpstr@chromium.org> Commit-Queue: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#604274}
Showing
Please register or sign in to comment