| Index: chrome/browser/chromeos/extensions/first_run_private_api.cc
|
| diff --git a/chrome/browser/chromeos/extensions/first_run_private_api.cc b/chrome/browser/chromeos/extensions/first_run_private_api.cc
|
| index 665c51db716569dba334807c8ee5b7883a124492..305a68c15662583f92d4ee1a6fe80fa1bd84df0d 100644
|
| --- a/chrome/browser/chromeos/extensions/first_run_private_api.cc
|
| +++ b/chrome/browser/chromeos/extensions/first_run_private_api.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/chromeos/extensions/first_run_private_api.h"
|
|
|
| #include "base/metrics/histogram.h"
|
| +#include "chrome/browser/browser_process.h"
|
| #include "chrome/browser/chromeos/first_run/first_run.h"
|
| #include "chrome/browser/chromeos/profiles/profile_helper.h"
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| @@ -45,7 +46,10 @@ bool FirstRunPrivateGetLocalizedStringsFunction::RunSync() {
|
| localized_strings->SetString(
|
| "closeButton",
|
| l10n_util::GetStringUTF16(IDS_CLOSE));
|
| - webui::SetFontAndTextDirection(localized_strings);
|
| +
|
| + const std::string& app_locale = g_browser_process->GetApplicationLocale();
|
| + webui::SetLoadTimeDataDefaults(app_locale, localized_strings);
|
| +
|
| SetResult(localized_strings);
|
| return true;
|
| }
|
|
|