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() {

2
vendor/brightray vendored

@ -1 +1 @@
Subproject commit 1a8afaa87129527f2c41570ee563abb507f2337a
Subproject commit 794cc6b6a6d269eacce0bbaf930d10f642e7a907