mirror of
https://github.com/electron/electron.git
synced 2026-01-29 01:08:18 -05:00
Fix inspectable_web_contents_impl.cc
This commit is contained in:
@@ -162,7 +162,7 @@ void InspectableWebContentsImpl::ShowDevTools() {
|
||||
|
||||
agent_host_ = content::DevToolsAgentHost::GetOrCreateFor(web_contents_.get());
|
||||
frontend_host_.reset(content::DevToolsFrontendHost::Create(
|
||||
web_contents_->GetRenderViewHost(), this));
|
||||
web_contents_->GetMainFrame(), this));
|
||||
agent_host_->AttachClient(this);
|
||||
|
||||
GURL devtools_url(base::StringPrintf(kChromeUIDevToolsURL, can_dock_ ? "true" : ""));
|
||||
|
||||
Reference in New Issue
Block a user