summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
diff options
context:
space:
mode:
authordbeam <dbeam@chromium.org>2016-03-03 14:28:10 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-03 22:29:12 +0000
commit1f8acc51c0c5d9fea66917884b927eff8f3e570e (patch)
tree3f0aa610d55050ae76f7851972b06bb901c8f472 /chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
parentebaca1a5f5909b5cacbb3ebebbacb1968486cd16 (diff)
downloadchromium_src-1f8acc51c0c5d9fea66917884b927eff8f3e570e.zip
chromium_src-1f8acc51c0c5d9fea66917884b927eff8f3e570e.tar.gz
chromium_src-1f8acc51c0c5d9fea66917884b927eff8f3e570e.tar.bz2
NTP4/apps page: fix page stickiness
R=estade@chromium.org BUG=591225 Review URL: https://codereview.chromium.org/1757673002 Cr-Commit-Position: refs/heads/master@{#379115}
Diffstat (limited to 'chrome/browser/ui/webui/ntp/ntp_resource_cache.cc')
-rw-r--r--chrome/browser/ui/webui/ntp/ntp_resource_cache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
index 48064ef..5161f9b 100644
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
@@ -30,7 +30,7 @@
#include "chrome/browser/ui/bookmarks/bookmark_bar_constants.h"
#include "chrome/browser/ui/sync/sync_promo_ui.h"
#include "chrome/browser/ui/webui/app_launcher_login_handler.h"
-#include "chrome/browser/ui/webui/ntp/new_tab_page_handler.h"
+#include "chrome/browser/ui/webui/ntp/app_launcher_handler.h"
#include "chrome/browser/ui/webui/ntp/new_tab_ui.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/pref_names.h"
@@ -479,7 +479,7 @@ void NTPResourceCache::CreateNewTabHTML() {
load_time_data.SetBoolean("canShowAppInfoDialog",
CanShowAppInfoDialog());
- NewTabPageHandler::GetLocalizedValues(profile_, &load_time_data);
+ AppLauncherHandler::GetLocalizedValues(profile_, &load_time_data);
AppLauncherLoginHandler::GetLocalizedValues(profile_, &load_time_data);
webui::SetLoadTimeDataDefaults(app_locale, &load_time_data);