| Index: chrome/browser/chromeos/locale_change_guard.cc
|
| diff --git a/chrome/browser/chromeos/locale_change_guard.cc b/chrome/browser/chromeos/locale_change_guard.cc
|
| index 606bfb49cbadf3529bf5580c1df43d2b9d43a4ef..80108ab265ea3c0133c247db1bf54b18755e092f 100644
|
| --- a/chrome/browser/chromeos/locale_change_guard.cc
|
| +++ b/chrome/browser/chromeos/locale_change_guard.cc
|
| @@ -6,6 +6,7 @@
|
|
|
| #include "ash/shell.h"
|
| #include "ash/system/tray/system_tray.h"
|
| +#include "ash/system/tray/system_tray_notifier.h"
|
| #include "base/bind.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/app/chrome_command_ids.h"
|
| @@ -171,10 +172,8 @@ void LocaleChangeGuard::Check() {
|
| PrepareChangingLocale(from_locale, to_locale);
|
| }
|
|
|
| - if (ash::Shell::GetInstance()->status_area_widget()) {
|
| - ash::Shell::GetInstance()->system_tray()->locale_observer()->
|
| - OnLocaleChanged(this, cur_locale, from_locale_, to_locale_);
|
| - }
|
| + ash::Shell::GetInstance()->system_tray_notifier()->NotifyLocaleChanged(
|
| + this, cur_locale, from_locale_, to_locale_);
|
| }
|
|
|
| void LocaleChangeGuard::AcceptLocaleChange() {
|
|
|