]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix typo, closes #2990
authorCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 11:57:14 +0000 (19:57 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 11:57:14 +0000 (19:57 +0800)
atom/browser/native_window_views.cc

index 4282b0eda96f79e8f7624ca82f19d16e88fb95f9..689626fc5f48c8268669801c86bd137702c9e8f0 100644 (file)
@@ -351,7 +351,7 @@ void NativeWindowViews::ShowInactive() {
 }
 
 void NativeWindowViews::Hide() {
-  web_contents()->WasHidden();
+  window_->Hide();
 }
 
 bool NativeWindowViews::IsVisible() {