| Index: chrome/browser/ui/webui/options/browser_options_handler.cc
|
| diff --git a/chrome/browser/ui/webui/options/browser_options_handler.cc b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| index b428690575d30a566edf6beedd450f4cad25283d..ec06efff8d56ca9cb7c7e4a31bd3b377e2145cd3 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -1149,11 +1149,10 @@ void BrowserOptionsHandler::OnDefaultBrowserWorkerFinished(
|
| PrefService* prefs = Profile::FromWebUI(web_ui())->GetPrefs();
|
| prefs->SetBoolean(prefs::kCheckDefaultBrowser, true);
|
| } else if (state == shell_integration::NOT_DEFAULT) {
|
| - if (shell_integration::CanSetAsDefaultBrowser() ==
|
| - shell_integration::SET_DEFAULT_NOT_ALLOWED) {
|
| - status_string_id = IDS_OPTIONS_DEFAULTBROWSER_SXS;
|
| - } else {
|
| + if (shell_integration::CanSetAsDefaultBrowser()) {
|
| status_string_id = IDS_OPTIONS_DEFAULTBROWSER_NOTDEFAULT;
|
| + } else {
|
| + status_string_id = IDS_OPTIONS_DEFAULTBROWSER_SXS;
|
| }
|
| } else if (state == shell_integration::UNKNOWN_DEFAULT) {
|
| status_string_id = IDS_OPTIONS_DEFAULTBROWSER_UNKNOWN;
|
|
|