Windows Spellcheck: Fix crash seen in test code with delay init
A crash in several interactive_ui_tests is seen if the feature flags WinUseBrowserSpellChecker and kWinDelaySpellcheckServiceInitfeature are set to be on by default. Fix is just to follow the same pattern used in other SpellCheckHostChromeImpl methods and do an early return if the SpellcheckService is null. Bug: 1118185 Change-Id: I785cd8cec37f42080acedb968b4a6671b01d2378 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363871 Commit-Queue: Rouslan Solomakhin <rouslan@chromium.org> Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Cr-Commit-Position: refs/heads/master@{#799562}
Showing
Please register or sign in to comment