Convert tables in keycode_converter to constexpr.
Currently, it is not constexpr, so may not be built on compile time. Actually, no-op editing of the keycode_converter.cc sometimes triggers static initializer check. Specifically, DomKey used in the tables is not constexpr aware, so this CL makes the change. BUG=1137426 TEST=Built on mac-rel bot. Made sure no static initializer check error. Change-Id: Ib2d070c0cc29c725d4b7a0df000940685086d570 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462978 Commit-Queue: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by:Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/master@{#816557}
Showing
Please register or sign in to comment