-
noms@chromium.org authored
Otherwise, when the next browser window is opened, it will try to use the old "last used" profile, which is the one that just got deleted. This also means that the ProfileManager needs to pre-load the next active profile, if one is not loaded already. BUG=194415 TEST=On Mac, create two profiles. Ensure only the active profile has opened browser windows. Delete the active profile. All windows should close, but the Chrome icon should still be highlighted in the dock. Clicking it should not crash, and should open a window for the remaining profile. Review URL: https://chromiumcodereview.appspot.com/14923004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209035 0039d316-1c4b-4281-b951-d872f2087c98
1c62b2f2