| Index: Source/core/css/CSSValuePool.cpp
|
| diff --git a/Source/core/css/CSSValuePool.cpp b/Source/core/css/CSSValuePool.cpp
|
| index 55e78088584c95bbc815918b43a9c8abf96ac8d2..4e6e9f227dd6bbba515515613b6a7ed3e7c21e68 100644
|
| --- a/Source/core/css/CSSValuePool.cpp
|
| +++ b/Source/core/css/CSSValuePool.cpp
|
| @@ -93,8 +93,8 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createColorValue(unsigne
|
| RefPtrWillBeRawPtr<CSSPrimitiveValue> dummyValue;
|
| ColorValueCache::AddResult entry = m_colorValueCache.add(rgbValue, dummyValue);
|
| if (entry.isNewEntry)
|
| - entry.iterator->value = CSSPrimitiveValue::createColor(rgbValue);
|
| - return entry.iterator->value;
|
| + entry.storedValue->value = CSSPrimitiveValue::createColor(rgbValue);
|
| + return entry.storedValue->value;
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimitiveValue::UnitTypes type)
|
| @@ -131,7 +131,7 @@ PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createValue(const Length
|
|
|
| PassRefPtrWillBeRawPtr<CSSPrimitiveValue> CSSValuePool::createFontFamilyValue(const String& familyName)
|
| {
|
| - RefPtrWillBeMember<CSSPrimitiveValue>& value = m_fontFamilyValueCache.add(familyName, 0).iterator->value;
|
| + RefPtrWillBeMember<CSSPrimitiveValue>& value = m_fontFamilyValueCache.add(familyName, 0).storedValue->value;
|
| if (!value)
|
| value = CSSPrimitiveValue::create(familyName, CSSPrimitiveValue::CSS_STRING);
|
| return value;
|
| @@ -144,7 +144,7 @@ PassRefPtrWillBeRawPtr<CSSValueList> CSSValuePool::createFontFaceValue(const Ato
|
| if (m_fontFaceValueCache.size() > maximumFontFaceCacheSize)
|
| m_fontFaceValueCache.clear();
|
|
|
| - RefPtrWillBeMember<CSSValueList>& value = m_fontFaceValueCache.add(string, 0).iterator->value;
|
| + RefPtrWillBeMember<CSSValueList>& value = m_fontFaceValueCache.add(string, 0).storedValue->value;
|
| if (!value)
|
| value = BisonCSSParser::parseFontFaceValue(string);
|
| return value;
|
|
|