Cleanup overloads of isSpellCheckingEnabledFor
This patch cleans up the two overloads of the function as follows: SpellChecker::isSpellCheckingEnabledFor(const VisibleSelection&) is changed into a static function in SpellChecker.cpp since it does not have call site outside SpellChecker. SpellChecker::isSpellCheckingEnabledFor(const Node*) is absorbed by is wrapper SpellChecker::isSpellCheckingEnabledInFocusedNode(). BUG=n/a TEST=n/a; no behavior change Review-Url: https://codereview.chromium.org/2273253002 Cr-Commit-Position: refs/heads/master@{#414333}
Showing
Please register or sign in to comment