| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index a9ad4d8312cb84524f7825709dbbbfbf7e1e68d0..8ed2819503b16b1537a67f5cfc8bfceec992cf48 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -445,8 +445,7 @@ Browser* Browser::Create(Profile* profile) {
|
| Browser* Browser::CreateWithParams(const CreateParams& params) {
|
| Browser* browser = new Browser(params.type, params.profile);
|
| browser->app_name_ = params.app_name;
|
| - if (!params.initial_bounds.IsEmpty())
|
| - browser->set_override_bounds(params.initial_bounds);
|
| + browser->set_override_bounds(params.initial_bounds);
|
| browser->InitBrowserWindow();
|
| return browser;
|
| }
|
| @@ -487,9 +486,7 @@ Browser* Browser::CreateForApp(Type type,
|
|
|
| CreateParams params(type, profile);
|
| params.app_name = app_name;
|
| - if (!window_bounds.IsEmpty())
|
| - params.initial_bounds = window_bounds;
|
| -
|
| + params.initial_bounds = window_bounds;
|
| return CreateWithParams(params);
|
| }
|
|
|
|
|