| Index: Source/wtf/text/AtomicString.cpp
|
| diff --git a/Source/wtf/text/AtomicString.cpp b/Source/wtf/text/AtomicString.cpp
|
| index a949c00ed07667172c2b162d3b80bae3294fb40c..22cfbc9da4d14e64624787f125183a39ca9eb68e 100644
|
| --- a/Source/wtf/text/AtomicString.cpp
|
| +++ b/Source/wtf/text/AtomicString.cpp
|
| @@ -243,7 +243,7 @@ PassRefPtr<StringImpl> AtomicString::add(const UChar* s, unsigned length)
|
|
|
| if (!length)
|
| return StringImpl::empty();
|
| -
|
| +
|
| UCharBuffer buffer = { s, length };
|
| return addToStringTable<UCharBuffer, UCharBufferTranslator>(buffer);
|
| }
|
| @@ -323,7 +323,7 @@ PassRefPtr<StringImpl> AtomicString::add(StringImpl* baseString, unsigned start,
|
| SubstringLocation buffer = { baseString, start, length };
|
| return addToStringTable<SubstringLocation, SubstringTranslator>(buffer);
|
| }
|
| -
|
| +
|
| typedef HashTranslatorCharBuffer<LChar> LCharBuffer;
|
| struct LCharBufferTranslator {
|
| static unsigned hash(const LCharBuffer& buf)
|
|
|