Fix crashes caused by destruction order in Assistant.
It was previously assumed that the WebViews owned by ManagedWebContents would not be deleted before the Assistant view hierarchy in ash. As it turns out, this is not always the case as identified by the reproduction steps outlined in the attached bugs. As such, we need to perform clean up safely whether ManagedWebContents WebViews are destroyed before or after Assistant views in ash. Bug: b:116821400, b:116814451 Change-Id: I982b327d45b22bcacef6e07489cb967eb36bcaf1 Reviewed-on: https://chromium-review.googlesource.com/c/1249569Reviewed-by:Xiaohui Chen <xiaohuic@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#596032}
Showing
Please register or sign in to comment