Make sure webContents is created when opening devtools.
Fixes atom/atom#2270.
This commit is contained in:
parent
754abbd39c
commit
972bb2e9fb
3 changed files with 12 additions and 16 deletions
|
@ -362,7 +362,7 @@ void Window::BuildPrototype(v8::Isolate* isolate,
|
|||
.SetMethod("flashFrame", &Window::FlashFrame)
|
||||
.SetMethod("setKiosk", &Window::SetKiosk)
|
||||
.SetMethod("isKiosk", &Window::IsKiosk)
|
||||
.SetMethod("openDevTools", &Window::OpenDevTools)
|
||||
.SetMethod("_openDevTools", &Window::OpenDevTools)
|
||||
.SetMethod("closeDevTools", &Window::CloseDevTools)
|
||||
.SetMethod("isDevToolsOpened", &Window::IsDevToolsOpened)
|
||||
.SetMethod("inspectElement", &Window::InspectElement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue