Mark detach option for 2.0 removal
This commit is contained in:
parent
2885e980a5
commit
224d3aef3e
1 changed files with 2 additions and 0 deletions
|
@ -948,6 +948,8 @@ 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";
|
||||
|
|
Loading…
Reference in a new issue