Commit 0d523306 authored by ananta's avatar ananta Committed by Commit bot

Fix stupid bug causing relaunch into Chrome OS mode to not work on Windows 7.

BUG=413101

Review URL: https://codereview.chromium.org/601663003

Cr-Commit-Position: refs/heads/master@{#297075}
parent 830628b8
......@@ -118,7 +118,7 @@ RelaunchMode RelaunchModeStringToEnum(const std::string& relaunch_mode) {
// into Chrome OS mode.
if ((base::win::GetVersion() == base::win::VERSION_WIN7) &&
CommandLine::ForCurrentProcess()->HasSwitch(switches::kViewerConnect) &&
g_browser_process->local_state()->HasPrefPath(prefs::kRelaunchMode)) {
!g_browser_process->local_state()->HasPrefPath(prefs::kRelaunchMode)) {
// TODO(ananta)
// On Windows 8, the delegate execute process looks up the previously
// launched mode from the registry and relaunches into that mode. We need
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment