mac: Should set default size when creating window.

This commit is contained in:
Cheng Zhao 2014-01-06 18:58:30 +08:00
parent cac3973731
commit b939232670

View file

@ -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);