Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: ui/base/accelerators/accelerator.cc

Issue 1559163002: Clean up event flags a bit: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comment Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura/window_event_dispatcher.cc ('k') | ui/base/ime/chromeos/character_composer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/accelerator.cc
diff --git a/ui/base/accelerators/accelerator.cc b/ui/base/accelerators/accelerator.cc
index 36c98567df1ba16a7f8e31868ffec54560b01e1e..fa166bdf00915300a5979fe8c93192b5fb548357 100644
--- a/ui/base/accelerators/accelerator.cc
+++ b/ui/base/accelerators/accelerator.cc
@@ -50,7 +50,7 @@ Accelerator::Accelerator(const KeyEvent& key_event)
: key_code_(key_event.key_code()),
type_(key_event.type()),
modifiers_(MaskOutKeyEventFlags(key_event.flags())),
- is_repeat_(key_event.IsRepeat()) {
+ is_repeat_(key_event.is_repeat()) {
}
Accelerator::Accelerator(const Accelerator& accelerator) {
« no previous file with comments | « ui/aura/window_event_dispatcher.cc ('k') | ui/base/ime/chromeos/character_composer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698