There's a check for prefs::kLanguageRemapSearchKeyTo in ash/system/tray_caps_lock.cc which is only missing during unit tests. The pref should be registered in the test and this check should be removed.
Possibly fix as part of: https://chromium-review.googlesource.com/c/chromium/src/+/634329
Comment 1 by jamescook@chromium.org
, Aug 30 2017