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 bc2232562c14dc50bb5771d6e21debbc35f43792..91f34258a9ea79e771b570005419ca026856168b 100644 |
--- a/chrome/browser/ui/browser_window_state.cc |
+++ b/chrome/browser/ui/browser_window_state.cc |
@@ -91,10 +91,9 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser, |
show_state); |
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess(); |
- bool record_mode = parsed_command_line.HasSwitch(switches::kRecordMode); |
Matt Perry
2013/08/02 21:19:08
This is used outside the record API. Please revert
pals
2013/08/05 05:35:55
Done. Oops, thought of removing this change before
|
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 |
+ if (playback_mode) { |
+ // In playback 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 |
@@ -102,7 +101,7 @@ void GetSavedWindowBoundsAndShowState(const Browser* browser, |
*bounds = gfx::Rect(0, 0, 800, 600); |
} |
- // The following options override playback/record. |
+ // The following options override playback. |
if (parsed_command_line.HasSwitch(switches::kWindowSize)) { |
std::string str = |
parsed_command_line.GetSwitchValueASCII(switches::kWindowSize); |