[fuchsia] Check if InputEvent is null in IME's DidUpdateState
DidUpdateState can be null if there is no key associated with a state update. In these cases, since we only care about extracting the keypress associated with edits, we can just ignore the DidUpdateState call and return early. Change-Id: I5a6ce0a5ef13b8afad89abf6dab3eaf39167e74a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573083 Commit-Queue: Robert Lord <lard@google.com> Reviewed-by:Kevin Marshall <kmarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#652376}
Showing
Please register or sign in to comment