fix: crash when creating interface for speculative frame (#33919)
This commit is contained in:
parent
17c8ec765b
commit
5ff94e7f2b
3 changed files with 27 additions and 21 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue