]> khamidou — GitHub mirrors - electron.git/commitdiff
win: Fix building on Windows
authorCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 16:21:37 +0000 (00:21 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Mon, 5 Oct 2015 16:21:37 +0000 (00:21 +0800)
atom/browser/native_window_views_win.cc

index 79c512894377d5306ca4a7876f86ffeef60321f5..6092a2242ac0cd2fdea9d556dc8124199901bd29 100644 (file)
@@ -118,7 +118,7 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {
 
             // When the window is restored we resize it to the previous known
             // normal size.
-            SetSize(last_normal_size_);
+            NativeWindow::SetSize(last_normal_size_);
 
             NotifyWindowUnmaximize();
             break;
@@ -131,7 +131,7 @@ void NativeWindowViews::HandleSizeEvent(WPARAM w_param, LPARAM l_param) {
 
               // When the window is restored we resize it to the previous known
               // normal size.
-              SetSize(last_normal_size_);
+              NativeWindow::SetSize(last_normal_size_);
 
               NotifyWindowRestore();
             }