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

Unified Diff: ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc

Issue 2649233002: Fix a space problem with the use of XkbKeyboardLayoutEngine::xkb_flag_map_ (Closed)
Patch Set: Created 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
diff --git a/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc b/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
index b72f6f208e3fd8deb9939b8cae47183269bc1802..f32ab0632466ade1293f354c37c7724c2d0f9122 100644
--- a/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
+++ b/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
@@ -829,7 +829,7 @@ void XkbKeyboardLayoutEngine::SetKeymap(xkb_keymap* keymap) {
} else {
xkb_mod_mask_t flag = static_cast<xkb_mod_mask_t>(1) << index;
XkbFlagMapEntry e = {flags[i].ui_flag, flag};
- xkb_flag_map_.push_back(e);
+ xkb_flag_map_[i] = e;
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698