Index: chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc |
diff --git a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc |
index dbd03d2e6a09588dc1a3653f6581801685652bf1..c5b74961cca7d2a64dbf8c9ac5b1fd1d8c15dc3b 100644 |
--- a/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc |
+++ b/chrome/browser/ui/views/ash/launcher/chrome_launcher_delegate.cc |
@@ -518,7 +518,7 @@ void ChromeLauncherDelegate::SetAppIconLoaderForTest(AppIconLoader* loader) { |
} |
Profile* ChromeLauncherDelegate::GetProfileForNewWindows() { |
- Profile* profile = ProfileManager::GetDefaultProfile(); |
+ Profile* profile = ProfileManager::GetDefaultProfileOrOffTheRecord(); |
if (browser_defaults::kAlwaysOpenIncognitoWindow && |
sky
2012/03/19 15:29:28
Do we need 522-526 anymore? Isn't it now covered b
Jun Mukai
2012/03/20 04:36:08
Removed.
|
IncognitoModePrefs::ShouldLaunchIncognito( |
*CommandLine::ForCurrentProcess(), |