| Index: Source/wtf/text/AtomicString.cpp
|
| diff --git a/Source/wtf/text/AtomicString.cpp b/Source/wtf/text/AtomicString.cpp
|
| index c29a0f40199d15f416a542c37045f4c47d87799f..1cef7d88ba349799c1746c3191ca664ab1252acf 100644
|
| --- a/Source/wtf/text/AtomicString.cpp
|
| +++ b/Source/wtf/text/AtomicString.cpp
|
| @@ -397,13 +397,13 @@ static inline HashSet<StringImpl*>::iterator findString(const StringImpl* string
|
| return stringTable().find<HashAndCharactersTranslator<CharacterType> >(buffer);
|
| }
|
|
|
| -AtomicStringImpl* AtomicString::find(const StringImpl* stringImpl)
|
| +StringImpl* AtomicString::find(const StringImpl* stringImpl)
|
| {
|
| ASSERT(stringImpl);
|
| ASSERT(stringImpl->existingHash());
|
|
|
| if (!stringImpl->length())
|
| - return static_cast<AtomicStringImpl*>(StringImpl::empty());
|
| + return StringImpl::empty();
|
|
|
| HashSet<StringImpl*>::iterator iterator;
|
| if (stringImpl->is8Bit())
|
| @@ -412,7 +412,7 @@ AtomicStringImpl* AtomicString::find(const StringImpl* stringImpl)
|
| iterator = findString<UChar>(stringImpl);
|
| if (iterator == stringTable().end())
|
| return 0;
|
| - return static_cast<AtomicStringImpl*>(*iterator);
|
| + return *iterator;
|
| }
|
|
|
| void AtomicString::remove(StringImpl* r)
|
|
|