Index: chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
diff --git a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
index e19a9fd67aed0f6b2af037bbd14a40c5b8990cbf..05737696ab82386d57adcecfa2bf69d9f5a415d5 100644 |
--- a/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
+++ b/chrome/browser/ui/cocoa/profiles/user_manager_mac.mm |
@@ -166,6 +166,8 @@ void UserManager::Show( |
const base::FilePath& profile_path_to_focus, |
profiles::UserManagerTutorialMode tutorial_mode, |
profiles::UserManagerProfileSelected profile_open_action) { |
+ DCHECK(profile_path_to_focus != ProfileManager::GetGuestProfilePath()); |
+ |
ProfileMetrics::LogProfileSwitchUser(ProfileMetrics::OPEN_USER_MANAGER); |
if (instance_) { |
// If there's a user manager window open already, just activate it. |