]> khamidou — GitHub mirrors - electron.git/commitdiff
views: Fix compilation error.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 17 Aug 2014 04:57:22 +0000 (12:57 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 17 Aug 2014 04:57:22 +0000 (12:57 +0800)
atom/browser/native_window_views.cc

index b6862348911e601ef68ba2f96f75aacd56c605ea..8fbac37fae49dcbfa5489ddbf7d3a12423d883dd 100644 (file)
@@ -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);