Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(861)

Unified Diff: chrome/browser/browser_process_impl.cc

Issue 8745015: Store the "browser autorestarted, last session must be restored" information in a preference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/browser_process_impl.cc
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc
index e84a21998b52dfe97c89f9785d920a5a83869cef..f0f62f7396f8f3b34387b6131a8dcc7422d1161d 100644
--- a/chrome/browser/browser_process_impl.cc
+++ b/chrome/browser/browser_process_impl.cc
@@ -1001,7 +1001,7 @@ void BrowserProcessImpl::RestartBackgroundInstance() {
}
DLOG(WARNING) << "Shutting down current instance of the browser.";
- BrowserList::AttemptExit();
+ BrowserList::AttemptExit(true);
// Transfer ownership to Upgrade.
upgrade_util::SetNewCommandLine(new_cl.release());

Powered by Google App Engine
This is Rietveld 408576698