DescriptionDrop TextCaseSensitivity from {start,end}sWith(const char*, ...)
The only user that's uses case-insensitive matching is
localeIdMatchesLang(), which can get a helper of its own (broken out of
equalInner).
Also rearrange/rewrite localeIdMatchesLang() a bit to not compare the
language prefix again for each possible delimiter, and skip the "full"
comparison at the start (using a prefix match+length check instead.)
Also remove the templated StringImpl::{start,end}sWith.
BUG=565878
Committed: https://crrev.com/671aee126162122a3607eb2d5be89f244de22554
Cr-Commit-Position: refs/heads/master@{#364014}
Patch Set 1 #
Messages
Total messages: 12 (5 generated)
|