Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ MimeHandlerView ] Fix a browser crash
Navigations to a MimeHandlerView type could finish without calling ReadyToCommitNavigation which is when MimeHandlerViewEmbedder sets its |render_frame_host_| reference (e.g., due to FrameTreeNode being removed mid navigation). This adds a null check to the DidFinishNavigation override to avoid browser crashes. Bug: 969840 Change-Id: I2aa595a9a444cb77c10d124e6e345505b76cc81c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1643092 Commit-Queue: Ehsan Karamad <ekaramad@chromium.org> Reviewed-by: James MacLean <wjmaclean@chromium.org> Cr-Commit-Position: refs/heads/master@{#666048}
- Loading branch information