DescriptionRevert "Stop SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar from using TextCheckingParagrah"
This is a manual revert of commit 41165826c11cc0b7f1457b4c455d7e2eb2de0819,
due to causing performance regression.
Original issue's description:
> Stop SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar from using TextCheckingParagrah
>
> SpellChecker::chunkAndMarkAllMisspellingsAndBadGrammar() does not really need
> a TextCheckingParagraph as its parameter; an EphemeralRange of text to check is
> sufficient.
>
> Hence, this patch changes its parameter from a TextCheckingParagraph to an
> EphemeralRange, simplifying code and improving performance by eliminating the
> overhead for finding the paragraph containing the text to be checked.
>
> BUG=n/a
> TEST=n/a; no visible change
>
> Committed: https://crrev.com/41165826c11cc0b7f1457b4c455d7e2eb2de0819
> Cr-Commit-Position: refs/heads/master@{#414328}
BUG=641083
TBR=yosin@chromium.org
Committed: https://crrev.com/081b3356bbea770e05fa19c2947e67b9916b5786
Cr-Commit-Position: refs/heads/master@{#414675}
Patch Set 1 #
Messages
Total messages: 10 (5 generated)
|