Index: chrome/browser/ui/views/profiles/user_manager_view.cc |
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc |
index 330e45170c75971e71a220fee42d0cfb7f2013b9..2f9ed334a4cb052449fa97752ed0fe7581d18435 100644 |
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc |
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc |
@@ -48,6 +48,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 we are showing the User Manager after locking a profile, change the |