Reviewed by Adele and Adam
authorbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Aug 2006 19:00:47 +0000 (19:00 +0000)
committerbeidson <beidson@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Aug 2006 19:00:47 +0000 (19:00 +0000)
commit607362327cf11b7dce9ac2588b8850ed91996e99
treea68c61d14469d23c359a59438f706f1c38dcfd86
parenteddc0e9b2fedd1cce0f7cdc481f806e715542156
    Reviewed by Adele and Adam

        Added an optimization to return early if there's no replacements to be made

        * platform/StringImpl.cpp:
        (WebCore::StringImpl::replace):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/StringImpl.cpp