From b939232670bde8e11c8e4f2524a59602110941fe Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Mon, 6 Jan 2014 18:58:30 +0800 Subject: [PATCH] mac: Should set default size when creating window. --- browser/native_window_mac.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/native_window_mac.mm b/browser/native_window_mac.mm index 3d55ecb6..93ad1ff1 100644 --- a/browser/native_window_mac.mm +++ b/browser/native_window_mac.mm @@ -142,7 +142,7 @@ NativeWindowMac::NativeWindowMac(content::WebContents* web_contents, : NativeWindow(web_contents, options), is_kiosk_(false), attention_request_id_(0) { - int width, height; + int width = 800, height = 600; options->GetInteger(switches::kWidth, &width); options->GetInteger(switches::kHeight, &height); -- 2.43.0