Index: chrome/browser/app_controller_mac.mm |
diff --git a/chrome/browser/app_controller_mac.mm b/chrome/browser/app_controller_mac.mm |
index f28af686e333ec8adb2736e7d56d97f9e2cd31e0..b27b177bf77998b1bc436ad3db358a72ce219059 100644 |
--- a/chrome/browser/app_controller_mac.mm |
+++ b/chrome/browser/app_controller_mac.mm |
@@ -461,6 +461,9 @@ const AEEventClass kAECloudPrintUninstallClass = 'GCPu'; |
// If the profile is incognito, use the original profile. |
Profile* newProfile = [windowController profile]->GetOriginalProfile(); |
[self windowChangedToProfile:newProfile]; |
+ } else if (BrowserList::empty()) { |
+ [self windowChangedToProfile: |
+ g_browser_process->profile_manager()->GetLastUsedProfile()]; |
} |
} |