Index: chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc |
diff --git a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc |
index d462b464dc1b75a2f1db8032f471d16c3c8d004f..e96976adac57cfe6758b92f35a5ee33da108fe9c 100644 |
--- a/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc |
+++ b/chrome/browser/ui/webui/chromeos/proxy_settings_ui.cc |
@@ -7,6 +7,7 @@ |
#include "base/memory/ref_counted_memory.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/values.h" |
+#include "chrome/browser/browser_process.h" |
#include "chrome/browser/chromeos/system/input_device_settings.h" |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/ui/webui/options/chromeos/core_chromeos_options_handler.h" |
@@ -67,7 +68,8 @@ void ProxySettingsHTMLSource::StartDataRequest( |
int render_process_id, |
int render_frame_id, |
const content::URLDataSource::GotDataCallback& callback) { |
- webui::SetFontAndTextDirection(localized_strings_.get()); |
+ const std::string& app_locale = g_browser_process->GetApplicationLocale(); |
+ webui::SetLoadTimeDataDefaults(app_locale, localized_strings_.get()); |
static const base::StringPiece html( |
ResourceBundle::GetSharedInstance().GetRawDataResource( |