mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
fix: crash when creating interface for speculative frame (#33919)
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user