Index: chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
index 7f32951c3801ac10f46e70ae1b54d2371a6fbd14..f21241b2d5967123386c3f59132fa0c33b662b9a 100644 |
--- a/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/sim_unlock_ui.cc |
@@ -16,6 +16,7 @@ |
#include "base/message_loop/message_loop.h" |
#include "base/strings/string_piece.h" |
#include "base/values.h" |
+#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chromeos/sim_dialog_delegate.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/common/url_constants.h" |
@@ -322,7 +323,8 @@ void SimUnlockUIHTMLSource::StartDataRequest( |
strings.SetString("oldPin", l10n_util::GetStringUTF16( |
IDS_OPTIONS_SETTINGS_INTERNET_CELLULAR_CHANGE_PIN_OLD_PIN)); |
- webui::SetFontAndTextDirection(&strings); |
+ const std::string& app_locale = g_browser_process->GetApplicationLocale(); |
+ webui::SetLoadTimeDataDefaults(&strings); |
dmazzoni
2015/01/28 17:20:54
Did you mean to pass app_locale?
Please check thr
Dan Beam
2015/01/28 17:48:27
Done. try bot will catch any other stupid mistake
|
static const base::StringPiece html( |
ResourceBundle::GetSharedInstance().GetRawDataResource( |