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
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() {