Fix RenderFrameHostChanged
This commit is contained in:
parent
ead0bb0cfc
commit
82c30ef9b9
1 changed files with 1 additions and 1 deletions
|
@ -573,7 +573,7 @@ void InspectableWebContentsImpl::RenderFrameHostChanged(
|
||||||
if (new_host->GetParent())
|
if (new_host->GetParent())
|
||||||
return;
|
return;
|
||||||
frontend_host_.reset(content::DevToolsFrontendHost::Create(
|
frontend_host_.reset(content::DevToolsFrontendHost::Create(
|
||||||
web_contents_->GetMainFrame(),
|
new_host,
|
||||||
base::Bind(&InspectableWebContentsImpl::HandleMessageFromDevToolsFrontend,
|
base::Bind(&InspectableWebContentsImpl::HandleMessageFromDevToolsFrontend,
|
||||||
base::Unretained(this))));
|
base::Unretained(this))));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue