DescriptionCleanup 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
Committed: https://crrev.com/26470a9df2acd9706ee8bcd903cdc07f018cef52
Cr-Commit-Position: refs/heads/master@{#414333}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 16 (10 generated)
|