| Index: chrome/browser/browser_about_handler.cc
|
| diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
|
| index 04274b19630444720285912579e02d40cfcc37a8..5126ea266f7a01b76481cab1fce1fcf3bd051075 100644
|
| --- a/chrome/browser/browser_about_handler.cc
|
| +++ b/chrome/browser/browser_about_handler.cc
|
| @@ -14,7 +14,9 @@
|
| #include "base/threading/thread_task_runner_handle.h"
|
| #include "build/build_config.h"
|
| #include "chrome/browser/lifetime/application_lifetime.h"
|
| +#include "chrome/browser/profiles/profile.h"
|
| #include "chrome/browser/ui/browser_dialogs.h"
|
| +#include "chrome/browser/ui/webui/md_history_ui.h"
|
| #include "chrome/common/chrome_features.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -75,7 +77,7 @@ bool WillHandleBrowserAboutURL(GURL* url,
|
| } else if (host == chrome::kChromeUIHistoryHost) {
|
| // Material design history is handled on the top-level chrome://history
|
| // host.
|
| - if (base::FeatureList::IsEnabled(features::kMaterialDesignHistoryFeature)) {
|
| + if (MdHistoryUI::IsEnabled(Profile::FromBrowserContext(browser_context))) {
|
| host = chrome::kChromeUIHistoryHost;
|
| path = url->path();
|
| } else {
|
|
|