Convert LayoutTestControl::CompositeWithRaster to asynchronous
Previous to this CL, there were corner case crashes occurring when another call to LocalFrameView::UpdateLifecyclePhases needed to call synchronously back to the browser process, for example to gather Font information. In those cases, if CompositeWithRaster was called (synchronously), it would be allowed to run by Mojo, which would cause a re-entrant call to LocalFrameView::UpdateLifecyclePhases. By converting this method to asynchronous, Mojo will block it and wait for existing synchronous calls to complete, avoiding the re-entrancy. Bug: 877093 Change-Id: Ide4036f485662bc576aaf661fb227f59955ac026 Reviewed-on: https://chromium-review.googlesource.com/c/1252141Reviewed-by:Sam McNally <sammc@chromium.org> Reviewed-by:
John Abd-El-Malek <jam@chromium.org> Reviewed-by:
vmpstr <vmpstr@chromium.org> Commit-Queue: Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#595975}
Showing
Please register or sign in to comment