From cbd6541e9aa468e61dc77760d5edf999b6a4553f Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Sun, 17 Aug 2014 12:57:22 +0800 Subject: [PATCH] views: Fix compilation error. --- atom/browser/native_window_views.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/native_window_views.cc b/atom/browser/native_window_views.cc index b6862348911e..8fbac37fae49 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);