fix: crash when creating interface for speculative frame (#33919)

This commit is contained in:
Samuel Maddock 2022-05-19 14:34:58 -04:00 committed by GitHub
parent 17c8ec765b
commit 5ff94e7f2b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 27 additions and 21 deletions

View file

@ -1505,7 +1505,7 @@ void WebContents::HandleNewRenderFrame(
auto* web_frame = WebFrameMain::FromRenderFrameHost(render_frame_host);
if (web_frame)
web_frame->Connect();
web_frame->MaybeSetupMojoConnection();
}
void WebContents::OnBackgroundColorChanged() {