mirror of
https://github.com/electron/electron.git
synced 2026-01-27 16:28:23 -05:00
Fix RenderFrameHostChanged
This commit is contained in:
@@ -573,7 +573,7 @@ void InspectableWebContentsImpl::RenderFrameHostChanged(
|
||||
if (new_host->GetParent())
|
||||
return;
|
||||
frontend_host_.reset(content::DevToolsFrontendHost::Create(
|
||||
web_contents_->GetMainFrame(),
|
||||
new_host,
|
||||
base::Bind(&InspectableWebContentsImpl::HandleMessageFromDevToolsFrontend,
|
||||
base::Unretained(this))));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user