| 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 39e1c17a0a1ed8943e9cfd9306ab5440950d4f43..1344aaaab5af49079f2ebf426f5c3ab83c42b770 100644
|
| --- a/chrome/browser/chromeos/locale_change_guard.cc
|
| +++ b/chrome/browser/chromeos/locale_change_guard.cc
|
| @@ -65,8 +65,7 @@ void LocaleChangeGuard::OnLogin() {
|
| }
|
|
|
| void LocaleChangeGuard::RevertLocaleChange() {
|
| - if (note_ == NULL ||
|
| - profile_ == NULL ||
|
| + if (profile_ == NULL ||
|
| from_locale_.empty() ||
|
| to_locale_.empty()) {
|
| NOTREACHED();
|
| @@ -191,8 +190,7 @@ void LocaleChangeGuard::Check() {
|
| }
|
|
|
| void LocaleChangeGuard::AcceptLocaleChange() {
|
| - if (note_ == NULL ||
|
| - profile_ == NULL ||
|
| + if (profile_ == NULL ||
|
| from_locale_.empty() ||
|
| to_locale_.empty()) {
|
| NOTREACHED();
|
|
|