Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5971)

Unified Diff: chrome/browser/first_run/upgrade_util_win.cc

Issue 601663003: Fix stupid bug causing relaunch into Chrome OS mode to not work on Windows 7. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/first_run/upgrade_util_win.cc
diff --git a/chrome/browser/first_run/upgrade_util_win.cc b/chrome/browser/first_run/upgrade_util_win.cc
index 55c327c0c102542bc068d1eb5feae444c3a1ff89..ff19c0479d7af3528e03c702e7762c9e35861e9a 100644
--- a/chrome/browser/first_run/upgrade_util_win.cc
+++ b/chrome/browser/first_run/upgrade_util_win.cc
@@ -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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698