| Index: chrome/browser/ui/webui/options/options_handlers_helper.cc
|
| diff --git a/chrome/browser/ui/webui/options/options_handlers_helper.cc b/chrome/browser/ui/webui/options/options_handlers_helper.cc
|
| index 661ab3da9627e7d3ca81f04b0e6d2a2b369031cc..b8bda6adf9a82a25246482de79b934212abc2119 100644
|
| --- a/chrome/browser/ui/webui/options/options_handlers_helper.cc
|
| +++ b/chrome/browser/ui/webui/options/options_handlers_helper.cc
|
| @@ -51,11 +51,6 @@ void OpenNewWindowForProfile(chrome::HostDesktopType desktop_type,
|
|
|
| void DeleteProfileAtPath(base::FilePath file_path, content::WebUI* web_ui) {
|
| DCHECK(web_ui);
|
| - // This handler could have been called for a supervised user, for example
|
| - // because the user fiddled with the web inspector. Silently return in this
|
| - // case.
|
| - if (Profile::FromWebUI(web_ui)->IsSupervised())
|
| - return;
|
|
|
| if (!profiles::IsMultipleProfilesEnabled())
|
| return;
|
|
|