-
Tom Anderson authored
base::FileDescriptorWatcher is not usable on the main thread because it is initialized as a UI thread, when an IO thread is required. Since it's a UI thread, it's able to dispatch events already without special FD watching. All that's required is creating an X11EventSource. This CL creates the event source where necessary so that KeyboardLayoutMonitorLinux can dispatch events. R=lambroslambrou CC=rkjnsn@chromium.org Fixes: 1133481 Change-Id: I6e0a380c7c1168c4b1515be10ec34e67d0ae0d47 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2444530 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:
Lambros Lambrou <lambroslambrou@chromium.org> Cr-Commit-Position: refs/heads/master@{#813864}
8185af6b