| Index: chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| diff --git a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| index 1085b740a2247975eb87dfb9890a99279c1b5000..7271c18436768a4521cab45366d81b998055bec8 100644
|
| --- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| +++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| @@ -406,7 +406,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* web_ui,
|
| return &NewWebUI<extensions::ExtensionsUI>;
|
| }
|
| // Material Design history is on its own host, rather than on an Uber page.
|
| - if (base::FeatureList::IsEnabled(features::kMaterialDesignHistoryFeature) &&
|
| + if (MdHistoryUI::IsEnabled(profile) &&
|
| url.host() == chrome::kChromeUIHistoryHost) {
|
| return &NewWebUI<MdHistoryUI>;
|
| }
|
|
|