| Index: chrome/browser/chromeos/login/screen_locker.cc
|
| diff --git a/chrome/browser/chromeos/login/screen_locker.cc b/chrome/browser/chromeos/login/screen_locker.cc
|
| index 4334e2fadff73d0efeb853edc5c86b4451f301fe..881b46b27f899965d1c5fdbed9d024a570572401 100644
|
| --- a/chrome/browser/chromeos/login/screen_locker.cc
|
| +++ b/chrome/browser/chromeos/login/screen_locker.cc
|
| @@ -231,7 +231,9 @@ void ScreenLocker::OnLoginFailure(const LoginFailure& error) {
|
|
|
| // TODO(ivankr): use a format string instead of concatenation.
|
| // Display a warning if Caps Lock is on.
|
| - if (input_method::XKeyboard::CapsLockIsEnabled()) {
|
| + input_method::InputMethodManager* ime_manager =
|
| + input_method::InputMethodManager::GetInstance();
|
| + if (ime_manager->GetXKeyboard()->CapsLockIsEnabled()) {
|
| msg += ASCIIToUTF16("\n") +
|
| l10n_util::GetStringUTF16(IDS_LOGIN_ERROR_CAPS_LOCK_HINT);
|
| }
|
|
|