remove webContents.openDevTools() deprecation

This commit is contained in:
Shelley Vohr 2018-05-23 09:30:15 -07:00
parent 3deffa859d
commit 4a90056462
No known key found for this signature in database
GPG key ID: F13993A75599653C
3 changed files with 0 additions and 22 deletions

View file

@ -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);