Enable calling WebContents::openDevTools for BrowserWindow's WebContents
This commit is contained in:
parent
67144aaf2a
commit
94d69777fa
5 changed files with 78 additions and 43 deletions
|
@ -473,7 +473,7 @@ bool Window::IsVisibleOnAllWorkspaces() {
|
|||
}
|
||||
|
||||
mate::Handle<WebContents> Window::GetWebContents(v8::Isolate* isolate) const {
|
||||
return WebContents::CreateFrom(isolate, window_->GetWebContents());
|
||||
return WebContents::CreateFrom(isolate, window_->managed_web_contents());
|
||||
}
|
||||
|
||||
mate::Handle<WebContents> Window::GetDevToolsWebContents(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue