| Index: chrome/browser/ui/browser_window_state.cc
|
| diff --git a/chrome/browser/ui/browser_window_state.cc b/chrome/browser/ui/browser_window_state.cc
|
| index f31e5ec984c1118306875d5c941d6f55af601ad7..c59e7fd899572739308add9f59368998f387a74e 100644
|
| --- a/chrome/browser/ui/browser_window_state.cc
|
| +++ b/chrome/browser/ui/browser_window_state.cc
|
| @@ -140,18 +140,7 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser,
|
|
|
| const base::CommandLine& parsed_command_line =
|
| *base::CommandLine::ForCurrentProcess();
|
| - bool record_mode = parsed_command_line.HasSwitch(switches::kRecordMode);
|
| - bool playback_mode = parsed_command_line.HasSwitch(switches::kPlaybackMode);
|
| - if (record_mode || playback_mode) {
|
| - // In playback/record mode we always fix the size of the browser and
|
| - // move it to (0,0). The reason for this is two reasons: First we want
|
| - // resize/moves in the playback to still work, and Second we want
|
| - // playbacks to work (as much as possible) on machines w/ different
|
| - // screen sizes.
|
| - *bounds = gfx::Rect(0, 0, 800, 600);
|
| - }
|
|
|
| - // The following options override playback/record.
|
| if (parsed_command_line.HasSwitch(switches::kWindowSize)) {
|
| std::string str =
|
| parsed_command_line.GetSwitchValueASCII(switches::kWindowSize);
|
|
|