commit | b8b600842f1999c19eba512bbb8b022f74490187 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 13 14:16:02 2011 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Dec 13 14:16:02 2011 |
tree | b945b5ce3e7dd45a8e6db7a2482c0cea52308e66 | |
parent | 7dd20e4f00adb47225ad9df20b799abcf215a090 [diff] [blame] |
Fixes for the kWasRestarted pref. Reset the kWasRestarted pref upon successful restart. Set it only when restarting. Write the persistent preferences after setting it. The preference was introduced in http://codereview.chromium.org/8745015. BUG=106948 TEST=see bug Review URL: http://codereview.chromium.org/8937001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114213 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc index a5ee0be..a0300af 100644 --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc
@@ -982,7 +982,7 @@ } DLOG(WARNING) << "Shutting down current instance of the browser."; - BrowserList::AttemptExit(true); + BrowserList::AttemptExit(); // Transfer ownership to Upgrade. upgrade_util::SetNewCommandLine(new_cl.release());