Unify marker removal logic when spellchecking is globally disabled
When spellchecking is globally disabled (via context menu or settings), all spelling markers should be removed. Currently, the marker removal logic is duplicated at two places. This patch unifies the logic and ensures that the removal is done exactly once for each frame. This is also a preparation patch for removing Blink-side maintenance of the global spellcheck enabled status. All-in-one patch: crrev.com/c/821496 Removal plan of Blink-side status: https://goo.gl/grtURZ Bug: 710097 Change-Id: I84d33cef5db2aa6ffeb1b66568dee037cba4a737 Reviewed-on: https://chromium-review.googlesource.com/826259Reviewed-by:Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#524003}
Showing
Please register or sign in to comment