// 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