summaryrefslogtreecommitdiffstats
path: root/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
diff options
context:
space:
mode:
authordavidben <davidben@chromium.org>2016-01-21 17:41:41 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-22 01:43:27 +0000
commit411d3f7a3a18335713a46d9022ce25e018a19e47 (patch)
tree72cd74ea04f27cc8b01f7153f43e24ae8d48b512 /ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
parent58be7eea6963f63c4395e97a8a8099916f738a61 (diff)
downloadchromium_src-411d3f7a3a18335713a46d9022ce25e018a19e47.zip
chromium_src-411d3f7a3a18335713a46d9022ce25e018a19e47.tar.gz
chromium_src-411d3f7a3a18335713a46d9022ce25e018a19e47.tar.bz2
Allow std::unordered_*.
This is a reland of https://codereview.chromium.org/1502373009 with some fixes for components/metrics/leak_detector allocator type mismatches. Original issue's description: > Allow std::unordered_*. > > base::hash_* is, as a transition step, implemented in terms of > std::unordered_*. Later commits will convert existing uses. > > Also fix a host of IWYU problems that arose from this CL. > > (NOPRESUBMIT because the wstring presubmit check is overzealous > and complains about the reference to wstring in the comment.) > > Committed: https://crrev.com/3f37f7f1459e7b5a452c0e433493e0a6e9649ca7 > Cr-Commit-Position: refs/heads/master@{#370553} BUG=576864 TBR=derat@chromium.org,danakj@chromium.org,dalecurtis@chromium.org,jbauman@chromium.org,blundell@chromium.org NOPRESUBMIT=true CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Review URL: https://codereview.chromium.org/1615713003 Cr-Commit-Position: refs/heads/master@{#370867}
Diffstat (limited to 'ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc')
-rw-r--r--ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc2
1 files changed, 2 insertions, 0 deletions
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 aee2282..f85b651 100644
--- a/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
+++ b/ui/events/ozone/layout/xkb/xkb_keyboard_layout_engine.cc
@@ -7,6 +7,8 @@
#include <stddef.h>
#include <xkbcommon/xkbcommon-names.h>
+#include <algorithm>
+
#include "base/bind.h"
#include "base/location.h"
#include "base/logging.h"