From: Cheng Zhao Date: Sun, 17 Aug 2014 04:57:22 +0000 (+0800) Subject: views: Fix compilation error. X-Git-Tag: v0.15.8~4 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=cbd6541e9aa468e61dc77760d5edf999b6a4553f;p=electron.git views: Fix compilation error. --- diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index b6862348..8fbac37f 100644 --- a/atom/browser/native_window_views.cc +++ b/atom/browser/native_window_views.cc @@ -124,7 +124,7 @@ NativeWindowViews::NativeWindowViews(content::WebContents* web_contents, // will not allow us to resize the window larger than scree. // Setting directly to INT_MAX somehow doesn't work, so we just devide // by 10, which should still be large enough. - maximum_size_.set(INT_MAX / 10, INT_MAX / 10); + maximum_size_.SetSize(INT_MAX / 10, INT_MAX / 10); int width = 800, height = 600; options.Get(switches::kWidth, &width);