diff options
Diffstat (limited to 'Source/WTF/wtf/text/StringHash.h')
-rw-r--r-- | Source/WTF/wtf/text/StringHash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WTF/wtf/text/StringHash.h b/Source/WTF/wtf/text/StringHash.h index 2d34d2c91..d030befaf 100644 --- a/Source/WTF/wtf/text/StringHash.h +++ b/Source/WTF/wtf/text/StringHash.h @@ -97,7 +97,7 @@ namespace WTF { static unsigned hash(const UChar* data, unsigned length) { - return StringHasher::computeHash<UChar, foldCase<UChar> >(data, length); + return StringHasher::computeHashAndMaskTop8Bits<UChar, foldCase<UChar> >(data, length); } static unsigned hash(StringImpl* str) @@ -109,7 +109,7 @@ namespace WTF { static unsigned hash(const LChar* data, unsigned length) { - return StringHasher::computeHash<LChar, foldCase<LChar> >(data, length); + return StringHasher::computeHashAndMaskTop8Bits<LChar, foldCase<LChar> >(data, length); } static inline unsigned hash(const char* data, unsigned length) |