Index: chrome/browser/ui/webui/options/create_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/create_profile_handler.cc b/chrome/browser/ui/webui/options/create_profile_handler.cc |
index b991316fbefcabb42da76c336cde7610d3064265..8df557cf191b8d0be2b143d027b2cd1740b0d863 100644 |
--- a/chrome/browser/ui/webui/options/create_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/create_profile_handler.cc |
@@ -412,8 +412,8 @@ bool CreateProfileHandler::IsValidExistingManagedUserId( |
if (existing_managed_user_id.empty()) |
return true; |
- if (!CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kAllowCreateExistingManagedUsers)) { |
+ if (CommandLine::ForCurrentProcess()->HasSwitch( |
+ switches::kDisableCreateExistingManagedUsers)) { |
return false; |
} |