Index: chrome/browser/prefs/incognito_mode_prefs.cc |
diff --git a/chrome/browser/prefs/incognito_mode_prefs.cc b/chrome/browser/prefs/incognito_mode_prefs.cc |
index 3b7b32708f2766fc8198d5278708f2b61cfc9282..1861ac1b4113b44cf1bf2b5b59d2ffbe2b76f897 100644 |
--- a/chrome/browser/prefs/incognito_mode_prefs.cc |
+++ b/chrome/browser/prefs/incognito_mode_prefs.cc |
@@ -82,6 +82,9 @@ bool IncognitoModePrefs::ShouldLaunchIncognito( |
// static |
bool IncognitoModePrefs::CanOpenBrowser(Profile* profile) { |
+ if (profile->IsGuestSession()) |
+ return true; |
+ |
switch (GetAvailability(profile->GetPrefs())) { |
case IncognitoModePrefs::ENABLED: |
return true; |