Index: Source/platform/fonts/WidthCache.h |
diff --git a/Source/platform/fonts/WidthCache.h b/Source/platform/fonts/WidthCache.h |
index 82f1b1e3d6d4779d151be8e794f40bbb628c9257..813d8e61d0e9700c72267f3d6ac196aa7ca98fcf 100644 |
--- a/Source/platform/fonts/WidthCache.h |
+++ b/Source/platform/fonts/WidthCache.h |
@@ -159,7 +159,7 @@ private: |
if (length == 1) { |
SingleCharMap::AddResult addResult = m_singleCharMap.add(run[0], entry); |
isNewEntry = addResult.isNewEntry; |
- value = &addResult.iterator->value; |
+ value = &addResult.storedValue->value; |
} else { |
SmallStringKey smallStringKey; |
if (run.is8Bit()) |
@@ -169,7 +169,7 @@ private: |
Map::AddResult addResult = m_map.add(smallStringKey, entry); |
isNewEntry = addResult.isNewEntry; |
- value = &addResult.iterator->value; |
+ value = &addResult.storedValue->value; |
} |
// Cache hit: ramp up by sampling the next few words. |