| Index: chrome/browser/apps/app_launch_for_metro_restart_win.cc
|
| diff --git a/chrome/browser/apps/app_launch_for_metro_restart_win.cc b/chrome/browser/apps/app_launch_for_metro_restart_win.cc
|
| index 50c3ce83ddb5f7e9f5ed1396e8e298f073034140..ea82b2867bb3672bb35430ae54f6123b1b961dca 100644
|
| --- a/chrome/browser/apps/app_launch_for_metro_restart_win.cc
|
| +++ b/chrome/browser/apps/app_launch_for_metro_restart_win.cc
|
| @@ -19,7 +19,6 @@
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "extensions/browser/extension_system.h"
|
| -#include "win8/util/win8_util.h"
|
|
|
| using extensions::Extension;
|
| using extensions::ExtensionSystem;
|
| @@ -70,13 +69,6 @@ void HandleAppLaunchForMetroRestart(Profile* profile) {
|
|
|
| prefs->ClearPref(prefs::kAppLaunchForMetroRestart);
|
|
|
| - if (win8::IsSingleWindowMetroMode()) {
|
| - // In this case we have relaunched with the correct profile, but we are not
|
| - // in Desktop mode, so can not launch apps. Leave the preferences cleared so
|
| - // there are no surprises later.
|
| - return;
|
| - }
|
| -
|
| const int kRestartAppLaunchDelayMs = 1000;
|
| base::MessageLoop::current()->PostDelayedTask(
|
| FROM_HERE,
|
|
|