Index: components/mus/public/cpp/lib/event_matcher.cc |
diff --git a/components/mus/public/cpp/lib/event_matcher.cc b/components/mus/public/cpp/lib/event_matcher.cc |
index e52e97cc4a5e505592eda0664c0d09f6795913a8..0c39714bef55ea6d9c76470d61392f4107a32c66 100644 |
--- a/components/mus/public/cpp/lib/event_matcher.cc |
+++ b/components/mus/public/cpp/lib/event_matcher.cc |
@@ -15,9 +15,9 @@ mojom::EventMatcherPtr CreateKeyMatcher(mojom::KeyboardCode code, |
// Ignoring these makes most accelerator scenarios more straight forward. Code |
// that needs to check them can override this setting. |
matcher->ignore_flags_matcher->flags = |
- static_cast<mojom::EventFlags>(mojom::EVENT_FLAGS_CAPS_LOCK_DOWN | |
- mojom::EVENT_FLAGS_SCROLL_LOCK_DOWN | |
- mojom::EVENT_FLAGS_NUM_LOCK_DOWN); |
+ static_cast<mojom::EventFlags>(mojom::EVENT_FLAGS_NUM_LOCK_ON | |
+ mojom::EVENT_FLAGS_CAPS_LOCK_ON | |
+ mojom::EVENT_FLAGS_SCROLL_LOCK_ON); |
matcher->key_matcher = mojom::KeyEventMatcher::New(); |
matcher->type_matcher->type = mus::mojom::EVENT_TYPE_KEY_PRESSED; |