Cache strings that come directly from WebLocalizedString
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2007 18:56:49 +0000 (18:56 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 5 Nov 2007 18:56:49 +0000 (18:56 +0000)
commit14bf1347f510214b03382805da89a675585b6c24
tree7d5cd86fd85ea2595ee7479b1eaec97c41084541
parent72eb6c8880693113f2141b75dafb520974a7d130
     Cache strings that come directly from WebLocalizedString

         Reviewed by Steve.

         * WebLocalizableStrings.cpp:
         (copyLocalizedStringFromBundle): This used to be WebLocalizedString,
         but is now just a static helper function.
         (findCachedStringInMap): Added static helper.
         (findCachedString): Refactored and cleaned up code from
         WebLocalizedLPCTSTR.
         (cacheString): Ditto.
         (WebLocalizedString): Rewrote to use the new helper functions.
         (WebLocalizedLPCTSTR): Changed to use the new helper functions.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@27443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/WebLocalizableStrings.cpp