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

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

Issue 830743003: Directly inline shared WebUI CSS declarations into the security and supervised user interstitials. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: review Created 5 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
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 dc348132701613c564062e6230069746b10b4e65..7f29edb9bbeb053cb6bf84e49ee0416e16d57713 100644
--- a/chrome/browser/ui/webui/system_info_ui.cc
+++ b/chrome/browser/ui/webui/system_info_ui.cc
@@ -139,7 +139,7 @@ void SystemInfoUIHTMLSource::RequestComplete() {
l10n_util::GetStringUTF16(IDS_ABOUT_SYS_COLLAPSE));
strings.SetString("parseError",
l10n_util::GetStringUTF16(IDS_ABOUT_SYS_PARSE_ERROR));
- webui::SetFontAndTextDirection(&strings);
+ webui::SetTextDirection(&strings);
if (response_.get()) {
base::ListValue* details = new base::ListValue();
strings.Set("details", details);

Powered by Google App Engine
This is Rietveld 408576698