Index: Source/wtf/text/AtomicString.cpp |
diff --git a/Source/wtf/text/AtomicString.cpp b/Source/wtf/text/AtomicString.cpp |
index 8ba6875953c4f385e0d8321ce924ea09da93ed9b..7f1e7f3d91b2c1bf07be3ec1453d6bf82c814469 100644 |
--- a/Source/wtf/text/AtomicString.cpp |
+++ b/Source/wtf/text/AtomicString.cpp |
@@ -52,7 +52,7 @@ public: |
if (!string->length()) |
return StringImpl::empty(); |
- StringImpl* result = *m_table.add(string).iterator; |
+ StringImpl* result = *m_table.add(string).storedValue; |
if (!result->isAtomic()) |
result->setIsAtomic(true); |
@@ -117,7 +117,7 @@ static inline PassRefPtr<StringImpl> addToStringTable(const T& value) |
// If the string is newly-translated, then we need to adopt it. |
// The boolean in the pair tells us if that is so. |
- return addResult.isNewEntry ? adoptRef(*addResult.iterator) : *addResult.iterator; |
+ return addResult.isNewEntry ? adoptRef(*addResult.storedValue) : *addResult.storedValue; |
} |
struct CStringTranslator { |