Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
index 61c5943270be3c97077f7ac52e1db5a5c37c13f8..49acf4358f979e934035924a419a362ce58f66c4 100644 |
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
@@ -370,8 +370,8 @@ void NTPResourceCache::CreateNewTabHTML() { |
GetUrlWithLang(GURL(extension_urls::GetWebstoreLaunchURL()))); |
load_time_data.SetString("appInstallHintText", |
l10n_util::GetStringUTF16(IDS_NEW_TAB_APP_INSTALL_HINT_LABEL)); |
- load_time_data.SetBoolean("isSuggestionsPageEnabled", |
- NewTabUI::IsSuggestionsPageEnabled()); |
+ load_time_data.SetBoolean("isDiscoveryInNTPEnabled", |
+ NewTabUI::IsDiscoveryInNTPEnabled()); |
load_time_data.SetBoolean("showApps", NewTabUI::ShouldShowApps()); |
load_time_data.SetString("collapseSessionMenuItemText", |
l10n_util::GetStringUTF16(IDS_NEW_TAB_OTHER_SESSIONS_COLLAPSE_SESSION)); |