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