| Index: chrome/browser/ui/extensions/shell_window.cc
|
| diff --git a/chrome/browser/ui/extensions/shell_window.cc b/chrome/browser/ui/extensions/shell_window.cc
|
| index c930eb75c2ca6a2e365fc99a45c91c7dc5b0effc..99239848104464c8f7b6513e0a5c196b8c120e30 100644
|
| --- a/chrome/browser/ui/extensions/shell_window.cc
|
| +++ b/chrome/browser/ui/extensions/shell_window.cc
|
| @@ -90,7 +90,7 @@ void SuspendRenderViewHost(RenderViewHost* rvh) {
|
| ShellWindow::CreateParams::CreateParams()
|
| : window_type(ShellWindow::WINDOW_TYPE_DEFAULT),
|
| frame(ShellWindow::FRAME_CHROME),
|
| - bounds(INT_MIN, INT_MIN, INT_MIN, INT_MIN),
|
| + bounds(INT_MIN, INT_MIN, 0, 0),
|
| creator_process_id(0), hidden(false) {
|
| }
|
|
|
| @@ -138,9 +138,9 @@ void ShellWindow::Init(const GURL& url,
|
|
|
| gfx::Rect bounds = params.bounds;
|
|
|
| - if (bounds.width() == INT_MIN)
|
| + if (bounds.width() == 0)
|
| bounds.set_width(kDefaultWidth);
|
| - if (bounds.height() == INT_MIN)
|
| + if (bounds.height() == 0)
|
| bounds.set_height(kDefaultHeight);
|
|
|
| // If left and top are left undefined, the native shell window will center
|
|
|