| Index: chrome/browser/ui/browser.cc
|
| diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
|
| index ea340c7fdc3d8c84b2eb77978292fc5c83446388..ce9d2272e09642daf3bd2a1777d3941a36e1c227 100644
|
| --- a/chrome/browser/ui/browser.cc
|
| +++ b/chrome/browser/ui/browser.cc
|
| @@ -443,8 +443,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;
|
| }
|
| @@ -485,9 +484,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);
|
| }
|
|
|
|
|