DescriptionCorrect the activation of idle time spell checker on document attach
There is a bug that, when a document is attached, the idle time spell
checker is requested for cold mode invocation even without the
IdleTimeSpellChecking flag.
This patch fixes the bug. To ensure that idle time spell checker is
only invoked with the flag, a DCHECK is also added to the handleEvnet()
function.
Related unit tests are disabled when there is no flag.
BUG=700081, 517298
Review-Url: https://codereview.chromium.org/2744603004
Cr-Commit-Position: refs/heads/master@{#455942}
Committed: https://chromium.googlesource.com/chromium/src/+/624c5cfae4ce865f8ac91be865a29ff0e9fdbe34
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|