| Index: chromeos/ime/xkeyboard.cc
|
| diff --git a/chromeos/ime/xkeyboard.cc b/chromeos/ime/xkeyboard.cc
|
| index 7714e20b241ed9dc6480628dcc211be8c0552e6f..e0e69cfd4c919ba670df73ea000b8a0d62a213dc 100644
|
| --- a/chromeos/ime/xkeyboard.cc
|
| +++ b/chromeos/ime/xkeyboard.cc
|
| @@ -153,7 +153,7 @@ unsigned int XKeyboardImpl::GetNumLockMask() {
|
| if (!xkb_desc)
|
| return kBadMask;
|
|
|
| - if (xkb_desc->dpy && xkb_desc->names && xkb_desc->names->vmods) {
|
| + if (xkb_desc->dpy && xkb_desc->names) {
|
| const std::string string_to_find(kNumLockVirtualModifierString);
|
| for (size_t i = 0; i < XkbNumVirtualMods; ++i) {
|
| const unsigned int virtual_mod_mask = 1U << i;
|
|
|