Index: Source/core/loader/ImageLoader.cpp |
diff --git a/Source/core/loader/ImageLoader.cpp b/Source/core/loader/ImageLoader.cpp |
index 5c3768aaebb40867db3fc7805762c4e8c81c19c2..a8177ba48d59bf7fe79cc7d41c22cdbe68588f9c 100644 |
--- a/Source/core/loader/ImageLoader.cpp |
+++ b/Source/core/loader/ImageLoader.cpp |
@@ -157,7 +157,7 @@ void ImageLoader::updateFromElement() |
if (!attr.isNull() && !stripLeadingAndTrailingHTMLSpaces(attr).isEmpty()) { |
FetchRequest request(ResourceRequest(document.completeURL(sourceURI(attr))), element()->localName()); |
- String crossOriginMode = m_element->fastGetAttribute(HTMLNames::crossoriginAttr); |
+ AtomicString crossOriginMode = m_element->fastGetAttribute(HTMLNames::crossoriginAttr); |
if (!crossOriginMode.isNull()) { |
StoredCredentials allowCredentials = equalIgnoringCase(crossOriginMode, "use-credentials") ? AllowStoredCredentials : DoNotAllowStoredCredentials; |
updateRequestForAccessControl(request.mutableResourceRequest(), document.securityOrigin(), allowCredentials); |