Index: Source/core/dom/ElementDataCache.cpp |
diff --git a/Source/core/dom/ElementDataCache.cpp b/Source/core/dom/ElementDataCache.cpp |
index f5dc770d275e4850bc3fdd8e361383162782b2e3..1b3cf32b4e1a8b8340a330b75b14418588ed0f78 100644 |
--- a/Source/core/dom/ElementDataCache.cpp |
+++ b/Source/core/dom/ElementDataCache.cpp |
@@ -47,7 +47,7 @@ PassRefPtr<ShareableElementData> ElementDataCache::cachedShareableElementDataWit |
{ |
ASSERT(!attributes.isEmpty()); |
- ShareableElementDataCache::iterator it = m_shareableElementDataCache.add(attributeHash(attributes), 0).iterator; |
+ ShareableElementDataCache::ValueType* it = m_shareableElementDataCache.add(attributeHash(attributes), 0).storedValue; |
// FIXME: This prevents sharing when there's a hash collision. |
if (it->value && !hasSameAttributes(attributes, *it->value)) |