Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 452ee77862f85014bc01b7558ce192e858fbfef5..fc96a78f0691f37a793a74b9fa6f80222c930ef8 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -4743,7 +4743,7 @@ CanvasRenderingContext* Document::getCSSCanvasContext(const String& type, const |
HTMLCanvasElement* Document::getCSSCanvasElement(const String& name) |
{ |
- RefPtr<HTMLCanvasElement>& element = m_cssCanvasElements.add(name, 0).iterator->value; |
+ RefPtr<HTMLCanvasElement>& element = m_cssCanvasElements.add(name, 0).storedValue->value; |
if (!element) { |
element = HTMLCanvasElement::create(*this); |
element->setAccelerationDisabled(true); |
@@ -5326,8 +5326,8 @@ Locale& Document::getCachedLocale(const AtomicString& locale) |
return Locale::defaultLocale(); |
LocaleIdentifierToLocaleMap::AddResult result = m_localeCache.add(localeKey, nullptr); |
if (result.isNewEntry) |
- result.iterator->value = Locale::create(localeKey); |
- return *(result.iterator->value); |
+ result.storedValue->value = Locale::create(localeKey); |
+ return *(result.storedValue->value); |
} |
Document& Document::ensureTemplateDocument() |