Index: chrome/browser/ui/extensions/shell_window.cc |
=================================================================== |
--- chrome/browser/ui/extensions/shell_window.cc (revision 167502) |
+++ chrome/browser/ui/extensions/shell_window.cc (working copy) |
@@ -75,7 +75,7 @@ |
ShellWindow::CreateParams::CreateParams() |
: frame(ShellWindow::CreateParams::FRAME_CHROME), |
- bounds(INT_MIN, INT_MIN, 0, 0), |
+ bounds(INT_MIN, INT_MIN, INT_MIN, INT_MIN), |
restore_position(true), restore_size(true), |
creator_process_id(0), hidden(false) { |
} |
@@ -122,9 +122,9 @@ |
gfx::Rect bounds = params.bounds; |
- if (bounds.width() == 0) |
+ if (bounds.width() == INT_MIN) |
bounds.set_width(kDefaultWidth); |
- if (bounds.height() == 0) |
+ if (bounds.height() == INT_MIN) |
bounds.set_height(kDefaultHeight); |
// If left and top are left undefined, the native shell window will center |