It wouldn't if it used StringImpl::reverseFind.
Created attachment 25573 [details] Simply changes the find to reverseFind in StringImpl::startswith
Comment on attachment 25573 [details] Simply changes the find to reverseFind in StringImpl::startswith Looks fine to me.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/platform/text/StringImpl.h Committed r38910