Index: chrome/browser/browser_shutdown.cc |
diff --git a/chrome/browser/browser_shutdown.cc b/chrome/browser/browser_shutdown.cc |
index dc558538173b45ed9d1ca16e8d69f94622665c51..d77f6541368b01f60c0af63d95656b26ccbbcb17 100644 |
--- a/chrome/browser/browser_shutdown.cc |
+++ b/chrome/browser/browser_shutdown.cc |
@@ -164,7 +164,7 @@ void Shutdown() { |
#endif |
if (restart_last_session) { |
-#if defined(OS_WIN) || defined(OS_LINUX) |
+#if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) |
// Make sure to relaunch the browser with the same command line and add |
// Restore Last Session flag if session restore is not set. |
CommandLine command_line(*CommandLine::ForCurrentProcess()); |