Index: Source/core/loader/FrameFetchContext.cpp |
diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp |
index f8ab31113996109b33d7bb6b218d9289426f8719..c124d9355c0e77a0945ac28164094f9d0d31ca2d 100644 |
--- a/Source/core/loader/FrameFetchContext.cpp |
+++ b/Source/core/loader/FrameFetchContext.cpp |
@@ -74,9 +74,9 @@ void FrameFetchContext::addAdditionalRequestHeaders(Document* document, Resource |
if (outgoingReferrer.isEmpty()) |
request.clearHTTPReferrer(); |
else if (!request.httpReferrer()) |
- request.setHTTPReferrer(outgoingReferrer); |
+ request.setHTTPReferrer(AtomicString(outgoingReferrer)); |
- FrameLoader::addHTTPOriginIfNeeded(request, outgoingOrigin); |
+ FrameLoader::addHTTPOriginIfNeeded(request, AtomicString(outgoingOrigin)); |
} |
if (isMainResource && m_frame->isMainFrame()) |