Chromium Code Reviews
DescriptionRemove dead code in spell checker
This patch removes:
1. TextCheckingType and TextCheckingTypeMask, because all their clients have
hard-coded their value to the same constant.
2. WebSpellCheckClient::checkTextOfParagraph() and all its overrides. This
function is in fact dead code, because it can only be called with
|mask == WebTextCheckingTypeGrammar|, but does not do anything when |mask|
does not contain WebTextCheckingTypeSpelling.
3. WebTextCheckingType and WebTextCheckingTypeMask, because their only client
is WebSpellCheckClient::checkTextOfParagraph().
BUG=619452
TEST=n/a; no behavior change
Committed: https://crrev.com/c66e99411384c332f3fddd1c8114fb8a0bad8e38
Cr-Commit-Position: refs/heads/master@{#411010}
Patch Set 1 #Patch Set 2 : 201608101257 #
Total comments: 2
Messages
Total messages: 17 (10 generated)
|