Index: chrome/browser/supervised_user/supervised_user_interstitial.cc |
diff --git a/chrome/browser/supervised_user/supervised_user_interstitial.cc b/chrome/browser/supervised_user/supervised_user_interstitial.cc |
index 5572eba9f40fe0dd249e49255898fa0e0cb3205e..af08ade12049bca13e83b91f69f563c226bdb762 100644 |
--- a/chrome/browser/supervised_user/supervised_user_interstitial.cc |
+++ b/chrome/browser/supervised_user/supervised_user_interstitial.cc |
@@ -11,6 +11,7 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/values.h" |
+#include "chrome/browser/browser_process.h" |
#include "chrome/browser/infobars/infobar_service.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/supervised_user/supervised_user_service.h" |
@@ -267,7 +268,8 @@ std::string SupervisedUserInterstitial::GetHTMLContents() { |
strings.SetString("requestSentMessage", request_sent_message); |
strings.SetString("requestFailedMessage", request_failed_message); |
- webui::SetFontAndTextDirection(&strings); |
+ const std::string& app_locale = g_browser_process->GetApplicationLocale(); |
+ webui::SetLoadTimeDataDefaults(app_locale, &strings); |
base::StringPiece html(ResourceBundle::GetSharedInstance().GetRawDataResource( |
IDR_SUPERVISED_USER_BLOCK_INTERSTITIAL_HTML)); |