StringImpl::findIgnoringCase() and reverseFindIgnoringCase() don't optimally handle...
authormsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 22:16:12 +0000 (22:16 +0000)
committermsaboff@apple.com <msaboff@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 22:16:12 +0000 (22:16 +0000)
commitf906a26f910a6d2fc19a0d9c5a3f1eb919684144
tree1b49c838bea3ab6edfba3534a8abf3421791258c
parent66b32dbcf8cf4a165c65582cab6fe504d03c583e
StringImpl::findIgnoringCase() and reverseFindIgnoringCase() don't optimally handle a mix of 8 and 16 bit strings
https://bugs.webkit.org/show_bug.cgi?id=99224

Reviewed by Geoffrey Garen.

Added helper templated functions and all four combinations similar to find() and reverseFind().

(WTF::findIgnoringCaseInner):
(WTF::StringImpl::findIgnoringCase):
(WTF::reverseFindIgnoringCaseInner):
(WTF::StringImpl::reverseFindIgnoringCase):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@131655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WTF/ChangeLog
Source/WTF/wtf/text/StringImpl.cpp