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 75eb237422f96c9c22d32d93b13a003df76746b4..c9eb199738e00b03bdec76f363123a8227607b69 100644 |
--- a/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
+++ b/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc |
@@ -24,6 +24,7 @@ |
#include "chrome/browser/themes/theme_service_factory.h" |
#include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
#include "chrome/browser/ui/webui/ntp/shown_sections_handler.h" |
+#include "chrome/browser/ui/webui/sync_setup_handler.h" |
#include "chrome/browser/web_resource/promo_resource_service.h" |
#include "chrome/common/chrome_notification_types.h" |
#include "chrome/common/chrome_switches.h" |
@@ -349,6 +350,8 @@ void NTPResourceCache::CreateNewTabHTML() { |
l10n_util::GetStringUTF16(IDS_NEW_TAB_CLOSE_MENU_EXPAND)); |
#endif |
+ SyncSetupHandler::GetStaticLocalizedValues(&localized_strings); |
+ |
// Don't initiate the sync related message passing with the page if the sync |
// code is not present. |
if (profile_->GetProfileSyncService()) |