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

Unified Diff: ui/base/webui/web_ui_util.cc

Issue 1647583003: Revert of [Template Expressions] changing ${ leader to $i18n{ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « ui/base/template_expressions_unittest.cc ('k') | ui/webui/resources/css/text_defaults.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/webui/web_ui_util.cc
diff --git a/ui/base/webui/web_ui_util.cc b/ui/base/webui/web_ui_util.cc
index e83ea68f62615332c13e113b071fe1b26b40697c..d9c1d76da6643bdcc70f31b78992f6351db7f0cd 100644
--- a/ui/base/webui/web_ui_util.cc
+++ b/ui/base/webui/web_ui_util.cc
@@ -123,7 +123,7 @@
}
std::string GetWebUiCssTextDefaults(const std::string& css_template) {
- ui::TemplateReplacements placeholders;
+ std::map<base::StringPiece, std::string> placeholders;
placeholders["textDirection"] = GetTextDirection();
placeholders["fontFamily"] = GetFontFamily();
placeholders["fontSize"] = GetFontSize();
« no previous file with comments | « ui/base/template_expressions_unittest.cc ('k') | ui/webui/resources/css/text_defaults.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698