| Index: chrome/browser/browser_about_handler.cc
|
| diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
|
| index be6f1072a4e5f9289bc584a2f7e3b2e64964ad9d..ee99796afc67815d87a269b00c35631ae6fc885c 100644
|
| --- a/chrome/browser/browser_about_handler.cc
|
| +++ b/chrome/browser/browser_about_handler.cc
|
| @@ -15,6 +15,7 @@
|
| #include "build/build_config.h"
|
| #include "chrome/browser/lifetime/application_lifetime.h"
|
| #include "chrome/browser/ui/browser_dialogs.h"
|
| +#include "chrome/common/chrome_features.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/url_constants.h"
|
| #include "components/url_formatter/url_fixer.h"
|
| @@ -74,7 +75,7 @@ bool WillHandleBrowserAboutURL(GURL* url,
|
| } else if (host == chrome::kChromeUIHistoryHost) {
|
| // Material design history is handled on the top-level chrome://history
|
| // host.
|
| - if (::switches::MdHistoryEnabled()) {
|
| + if (base::FeatureList::IsEnabled(features::kMaterialDesignHistoryFeature)) {
|
| host = chrome::kChromeUIHistoryHost;
|
| path = url->path();
|
| } else {
|
|
|