| 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 8a57d341a5c3d2c2fea3ec3cbd49515cf2784d77..96f501aa88e90067ab748d07f868cff30513180d 100644
|
| --- a/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| +++ b/chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
|
| @@ -413,7 +413,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>;
|
| }
|
|
|