remove webContents.openDevTools() deprecation
This commit is contained in:
parent
3deffa859d
commit
4a90056462
3 changed files with 0 additions and 22 deletions
|
@ -1300,11 +1300,6 @@ void WebContents::OpenDevTools(mate::Arguments* args) {
|
|||
mate::Dictionary options;
|
||||
if (args->GetNext(&options)) {
|
||||
options.Get("mode", &state);
|
||||
|
||||
// TODO(kevinsawicki) Remove in 2.0
|
||||
options.Get("detach", &detach);
|
||||
if (state.empty() && detach)
|
||||
state = "detach";
|
||||
}
|
||||
}
|
||||
managed_web_contents()->SetDockState(state);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue