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

Unified Diff: ui/events/ozone/layout/xkb/scoped_xkb.h

Issue 823633003: Revert of ozone: xkb: Load keymaps on worker thread & cache them (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/layout/xkb/scoped_xkb.h
diff --git a/ui/events/ozone/layout/xkb/scoped_xkb.h b/ui/events/ozone/layout/xkb/scoped_xkb.h
index 66ec295a6f5c870a00fe8a9b48e48f640185ac67..84efacbcf67ce97ae90d5c92bb2f714adcf1ac9a 100644
--- a/ui/events/ozone/layout/xkb/scoped_xkb.h
+++ b/ui/events/ozone/layout/xkb/scoped_xkb.h
@@ -19,10 +19,6 @@
void operator()(xkb_state* state) { xkb_state_unref(state); }
};
-struct XkbKeymapDeleter {
- void operator()(xkb_keymap* keymap) { xkb_keymap_unref(keymap); }
-};
-
} // namespace ui
#endif // UI_EVENTS_OZONE_LAYOUT_XKB_SCOPED_XKB_H_
« no previous file with comments | « no previous file | ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698