Close devtools completely instead of hiding it.

Fixes https://github.com/atom/atom/issues/1764.
This commit is contained in:
Cheng Zhao 2014-03-20 09:29:39 +08:00
parent eb1675a90f
commit f4b648385c
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ void NativeWindow::CloseDevTools() {
if (devtools_window_)
devtools_window_->Close();
else
inspectable_web_contents()->GetView()->CloseDevTools();
inspectable_web_contents()->CloseDevTools();
}
bool NativeWindow::IsDevToolsOpened() {