Fix crashes in InputMethodController.
This CL moves functions that fire events to JS from anonymous namespace to the |InputMethodController| so we can check if the ExecutionContext is still valid after firing the events or not and bail out if its not valid. Bug: 1088364 Change-Id: I2b98724bf305aed998222581a608dc16b0f64baf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2276666Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Anupam Snigdha <snianu@microsoft.com> Cr-Commit-Position: refs/heads/master@{#784340}
Showing
This diff is collapsed.
Please register or sign in to comment