| Index: chrome/browser/browser_about_handler.cc
|
| diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
|
| index 2273e600ec317775bea759d830063d49e94ab6d7..6006a1bf7d6b593b7210183a2f2a29365316a648 100644
|
| --- a/chrome/browser/browser_about_handler.cc
|
| +++ b/chrome/browser/browser_about_handler.cc
|
| @@ -128,6 +128,12 @@ bool WillHandleBrowserAboutURL(GURL* url,
|
| host = chrome::kChromeUIUberHost;
|
| path = chrome::kChromeUIHelpHost + url->path();
|
| }
|
| + // Redirect chrome://chrome to chrome://settings/help, only for MD settings.
|
| + } else if (host == chrome::kChromeUIUberHost &&
|
| + base::FeatureList::IsEnabled(features::kMaterialDesignSettings) &&
|
| + (url->path().empty() || url->path() == "/")) {
|
| + host = chrome::kChromeUISettingsHost;
|
| + path = chrome::kChromeUIHelpHost;
|
| }
|
|
|
| GURL::Replacements replacements;
|
|
|