| Index: chrome/browser/ui/startup/startup_browser_creator.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| index 781b0890814c7d7bf4e7cda36c9a89258fdd7838..ce9a14cadeeadffd5b42b9a3b3637be6742b1f55 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| @@ -363,16 +363,6 @@ SessionStartupPref StartupBrowserCreator::GetSessionStartupPref(
|
| pref.type = SessionStartupPref::DEFAULT;
|
| }
|
|
|
| -#if defined(OS_CHROMEOS)
|
| - // Kiosk/Retail mode has no profile to restore and fails to open the tabs
|
| - // specified in the startup_urls policy if we try to restore the non-existent
|
| - // session which is the default for ChromeOS in general.
|
| - if (chromeos::KioskModeSettings::Get()->IsKioskModeEnabled()) {
|
| - DCHECK(pref.type == SessionStartupPref::LAST);
|
| - pref.type = SessionStartupPref::DEFAULT;
|
| - }
|
| -#endif // OS_CHROMEOS
|
| -
|
| return pref;
|
| }
|
|
|
|
|