X11: fix crash in builds without gtk.
When use_gtk is set to false, nothings sets LinuxInputMethodContextFactory. That results in a crash that produces the following error - FATAL:input_method_auralinux.cc(29)] Check failed: LinuxInputMethodContextFactory::instance(). Trying to initialize InputMethodAuraLinux, but LinuxInputMethodContextFactory is not initialized yet. Thus, to fix the problem, create and set a fake input method context factory. Bug: 1084870 Change-Id: Iccce8e3e3e3f09f89c1c3c40d44d86876e5918a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2557079Reviewed-by:Peter Kasting <pkasting@chromium.org> Commit-Queue: Maksim Sisov (GMT+2) <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#830894}
Showing
Please register or sign in to comment