Fix nullptr access with MojoInputMessages on.
With event sender input is possibly injected solely on the main thread and a host may not be bound yet. So protect against null host objects on the main thread. BUG=788886 Change-Id: I6b8d1449ce01e3a1f0872133440839fa445d1567 Reviewed-on: https://chromium-review.googlesource.com/793971Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#519746}
Showing
Please register or sign in to comment