| Index: chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
| ===================================================================
|
| --- chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (revision 177955)
|
| +++ chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (working copy)
|
| @@ -297,7 +297,7 @@
|
| ResourceBundle::GetSharedInstance().GetRawDataResource(
|
| new_tab_html_idr));
|
|
|
| - std::string full_html = jstemplate_builder::GetI18nTemplateHtml(
|
| + std::string full_html = webui::GetI18nTemplateHtml(
|
| incognito_tab_html, &localized_strings);
|
|
|
| new_tab_incognito_html_ = base::RefCountedString::TakeString(&full_html);
|
| @@ -453,9 +453,9 @@
|
| base::StringPiece new_tab_html(ResourceBundle::GetSharedInstance().
|
| GetRawDataResource(chrome::search::IsInstantExtendedAPIEnabled(profile_) ?
|
| IDR_NEW_TAB_SEARCH_HTML : IDR_NEW_TAB_4_HTML));
|
| - jstemplate_builder::UseVersion2 version2;
|
| + webui::UseVersion2 version2;
|
| std::string full_html =
|
| - jstemplate_builder::GetI18nTemplateHtml(new_tab_html, &load_time_data);
|
| + webui::GetI18nTemplateHtml(new_tab_html, &load_time_data);
|
| new_tab_html_ = base::RefCountedString::TakeString(&full_html);
|
| }
|
|
|
|
|