| Index: ash/sticky_keys/sticky_keys_controller.cc
|
| diff --git a/ash/sticky_keys/sticky_keys_controller.cc b/ash/sticky_keys/sticky_keys_controller.cc
|
| index b65521284f0972de952c619214a8c4cb9612642c..fe380c43f293aa2bea70d81fa1fce143ed8bf869 100644
|
| --- a/ash/sticky_keys/sticky_keys_controller.cc
|
| +++ b/ash/sticky_keys/sticky_keys_controller.cc
|
| @@ -416,6 +416,7 @@ void StickyKeysHandler::DispatchEventAndReleaseModifier(ui::Event* event) {
|
| }
|
|
|
| void StickyKeysHandler::AppendNativeEventMask(unsigned int* state) {
|
| +#if defined(USE_X11)
|
| unsigned int& state_ref = *state;
|
| switch (modifier_flag_) {
|
| case ui::EF_CONTROL_DOWN:
|
| @@ -430,6 +431,7 @@ void StickyKeysHandler::AppendNativeEventMask(unsigned int* state) {
|
| default:
|
| NOTREACHED();
|
| }
|
| +#endif
|
| }
|
|
|
| void StickyKeysHandler::AppendModifier(ui::KeyEvent* event) {
|
|
|