Revert of ozone: xkb: Load keymaps on worker thread & cache them (patchset #17 id...
commit99f0df5c221b3f489c848cb8a0f5d80099767515
authorspang <spang@chromium.org>
Tue, 6 Jan 2015 17:39:26 +0000 (6 09:39 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 6 Jan 2015 17:40:04 +0000 (6 17:40 +0000)
tree81d5d2daed52a78f96f5451c6c2c214e8e1b19d5
parent6e54061cc9ae3d7e41164208f9c7e6a237632bac
Revert of ozone: xkb: Load keymaps on worker thread & cache them (patchset #17 id:310001 of https://codereview.chromium.org/817983002/)

Reason for revert:
Adds thread-unsafe code.

Original issue's description:
> ozone: xkb: Load keymaps on worker thread & cache them
>
> 1. Free xkb keymaps in the destructor.
> 2. Moves kemap load into another worker thread.
> 3. Adds keymap caching.
>
> BUG=430194
>
> Committed: https://crrev.com/f0b38f78f146cedf336ac9ad0236f681833c7263
> Cr-Commit-Position: refs/heads/master@{#309928}

TBR=shuchen@chromium.org,kpschoedel@chromium.org,fengyuan@chromium.org
NOTREECHECKS=true
NOTRY=true
BUG=430194

Review URL: https://codereview.chromium.org/823633003

Cr-Commit-Position: refs/heads/master@{#310105}
ui/events/ozone/layout/xkb/scoped_xkb.h
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.h
ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine_unittest.cc