From: Cheng Zhao Date: Mon, 5 Oct 2015 16:21:37 +0000 (+0800) Subject: win: Fix building on Windows X-Git-Tag: v0.33.7~26^2~4^2~8 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=c8723238f8fc6abb68ad42a3f9411760e1fcd048;p=electron.git win: Fix building on Windows --- diff --git a/atom/browser/native_window_views_win.cc b/atom/browser/native_window_views_win.cc index 79c51289..6092a224 100644 --- a/atom/browser/native_window_views_win.cc +++ b/atom/browser/native_window_views_win.cc @@ -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(); }