Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Unified Diff: chrome/browser/ui/webui/system_info_ui.cc

Issue 588363002: WebUI: Update some more uses of the old-style i18ntemplate/LocalStrings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: relative Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/system_info_ui.cc
diff --git a/chrome/browser/ui/webui/system_info_ui.cc b/chrome/browser/ui/webui/system_info_ui.cc
index 108cf95d8f74b5fa2d1a1b2735736f55fb6e3f25..727b6dc592e5004cccb6c3c060c95a023312cbcb 100644
--- a/chrome/browser/ui/webui/system_info_ui.cc
+++ b/chrome/browser/ui/webui/system_info_ui.cc
@@ -158,8 +158,8 @@ void SystemInfoUIHTMLSource::RequestComplete() {
static const base::StringPiece systeminfo_html(
ResourceBundle::GetSharedInstance().GetRawDataResource(
IDR_ABOUT_SYS_HTML));
- std::string full_html = webui::GetTemplatesHtml(
- systeminfo_html, &strings, "t" /* template root node id */);
+ webui::UseVersion2 version2;
+ std::string full_html = webui::GetI18nTemplateHtml(systeminfo_html, &strings);
callback_.Run(base::RefCountedString::TakeString(&full_html));
}

Powered by Google App Engine
This is Rietveld 408576698