| 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 24081851bbe3931c4a4468df7f9b6ad05998ddec..fc339e5ba1ff20b3b63f73a3c4bcbcaf67e042d4 100644
|
| --- a/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| +++ b/chrome/browser/ui/webui/options/browser_options_handler.cc
|
| @@ -1157,11 +1157,10 @@ void BrowserOptionsHandler::OnDefaultBrowserWorkerFinished(
|
| // default browser.
|
| chrome::ResetDefaultBrowserPrompt(Profile::FromWebUI(web_ui()));
|
| } 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;
|
|
|