Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / first_run / upgrade_util_win.cc
index 55c327c..ff19c04 100644 (file)
@@ -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