DescriptionFix MojoApplicationHost assertion when navigating from RenderProcessGone.
Termination of a renderer process results in a call to
WebContentsObserver::RenderProcessGone. Navigating from
RenderProcessGone using NavigationControllerImpl::Reload or LoadURL
results in an assertion due to MojoApplicationHost::Init() being called
again on an already initialized host. Reset |mojo_application_host_| in
RenderProcessHostImpl::ProcessDied before calling
ViewHostMsg_RenderProcessGone message handlers to avoid this problem.
BUG=448435
Committed: https://crrev.com/101f015eb605098054517fdc98de1665a9bb1431
Cr-Commit-Position: refs/heads/master@{#314435}
Patch Set 1 #
Total comments: 2
Patch Set 2 : #
Total comments: 2
Messages
Total messages: 15 (4 generated)
|