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

Unified Diff: chrome/common/localized_error.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/common/localized_error.cc
diff --git a/chrome/common/localized_error.cc b/chrome/common/localized_error.cc
index 5a969bc5fbe5555f1cbf69ba61171aa0d6e29a6c..71273aa0576a1e7f03374517c7c4ffbf0e7fbf32 100644
--- a/chrome/common/localized_error.cc
+++ b/chrome/common/localized_error.cc
@@ -519,7 +519,7 @@ void LocalizedError::GetStrings(int error_code,
base::DictionaryValue* error_strings) {
bool rtl = LocaleIsRTL();
error_strings->SetString("textdirection", rtl ? "rtl" : "ltr");
- webui::SetFontAndTextDirection(error_strings);
+ webui::SetTextDirection(error_strings);
// Grab the strings and settings that depend on the error type. Init
// options with default values.

Powered by Google App Engine
This is Rietveld 408576698