Index: chrome/browser/ui/webui/options/manage_profile_handler.cc |
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.cc b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
index cb99c53ad86fb410549ab56b0351d11d950fce53..34fc5e66a7f6e2ab16542e3593d02a5999098027 100644 |
--- a/chrome/browser/ui/webui/options/manage_profile_handler.cc |
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.cc |
@@ -383,6 +383,7 @@ void ManageProfileHandler::SetProfileIconAndName(const base::ListValue* args) { |
return; |
base::TrimWhitespace(new_profile_name, base::TRIM_ALL, &new_profile_name); |
+ CHECK(!new_profile_name.empty()); |
profiles::UpdateProfileName(profile, new_profile_name); |
} |