Chromium Code Reviews| Index: Source/core/dom/PresentationAttributeStyle.cpp |
| diff --git a/Source/core/dom/PresentationAttributeStyle.cpp b/Source/core/dom/PresentationAttributeStyle.cpp |
| index e9ced659b2953d6550d27521016435fe4059a63d..18b0e36afb62be75985c3bca48fa4c4a161107c9 100644 |
| --- a/Source/core/dom/PresentationAttributeStyle.cpp |
| +++ b/Source/core/dom/PresentationAttributeStyle.cpp |
| @@ -163,13 +163,13 @@ PassRefPtr<StylePropertySet> computePresentationAttributeStyle(Element& element) |
| unsigned cacheHash = computePresentationAttributeCacheHash(cacheKey); |
| - PresentationAttributeCache::iterator cacheIterator; |
| + PresentationAttributeCache::ValueType* cacheIterator; |
|
Erik Corry
2014/02/04 14:27:15
It seems wrong to call this 'iterator'.
|
| if (cacheHash) { |
| cacheIterator = presentationAttributeCache().add(cacheHash, nullptr).iterator; |
| if (cacheIterator->value && cacheIterator->value->key != cacheKey) |
| cacheHash = 0; |
| } else { |
| - cacheIterator = presentationAttributeCache().end(); |
| + cacheIterator = 0; |
| } |
| RefPtr<StylePropertySet> style; |