Chromium Code Reviews| Index: chrome/browser/lifetime/application_lifetime_win.cc |
| =================================================================== |
| --- chrome/browser/lifetime/application_lifetime_win.cc (revision 256983) |
| +++ chrome/browser/lifetime/application_lifetime_win.cc (working copy) |
| @@ -46,9 +46,8 @@ |
| #if defined(USE_AURA) |
| // This function should be called only from non aura code path. |
| // In aura/ash windows world browser process is always non metro. |
| - CHECK(false); |
| - return; |
| -#endif |
| + NOTREACHED(); |
|
Peter Kasting
2014/03/18 02:43:58
(I verified with shrikant that changing this CHECK
|
| +#else |
| // The kRestartSwitchMode preference does not exists for Windows 7 and older |
| // operating systems so there is no need for OS version check. |
| PrefService* prefs = g_browser_process->local_state(); |
| @@ -60,6 +59,7 @@ |
| upgrade_util::kRelaunchModeMetro); |
| } |
| AttemptRestart(); |
| +#endif |
| } |
| #if defined(USE_AURA) |