| Index: chrome/browser/ui/webui/md_history_ui.cc
|
| diff --git a/chrome/browser/ui/webui/md_history_ui.cc b/chrome/browser/ui/webui/md_history_ui.cc
|
| index 9994327ed0ee78631f078d7d6f85cef652a48551..598c335c1079c3f5694116743ba5837fa5fb04b1 100644
|
| --- a/chrome/browser/ui/webui/md_history_ui.cc
|
| +++ b/chrome/browser/ui/webui/md_history_ui.cc
|
| @@ -35,8 +35,6 @@
|
|
|
| namespace {
|
|
|
| -constexpr char kShowMenuPromoKey[] = "showMenuPromo";
|
| -
|
| content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile,
|
| bool use_test_title) {
|
| content::WebUIDataSource* source =
|
| @@ -119,7 +117,7 @@ content::WebUIDataSource* CreateMdHistoryUIHTMLSource(Profile* profile,
|
| prefs->GetBoolean(prefs::kAllowDeletingBrowserHistory);
|
| source->AddBoolean("allowDeletingHistory", allow_deleting_history);
|
|
|
| - source->AddBoolean(kShowMenuPromoKey,
|
| + source->AddBoolean("showMenuPromo",
|
| !prefs->GetBoolean(prefs::kMdHistoryMenuPromoShown));
|
|
|
| bool group_by_domain = base::CommandLine::ForCurrentProcess()->HasSwitch(
|
|
|