Index: Source/core/loader/WorkerThreadableLoader.cpp |
diff --git a/Source/core/loader/WorkerThreadableLoader.cpp b/Source/core/loader/WorkerThreadableLoader.cpp |
index ad16a0f36d0abf6f1eac9f90d19b3f3b805f7cda..2cd425fc89c4b90b20ca865bfca725737367c6ac 100644 |
--- a/Source/core/loader/WorkerThreadableLoader.cpp |
+++ b/Source/core/loader/WorkerThreadableLoader.cpp |
@@ -107,7 +107,7 @@ void WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader(ExecutionC |
Document* document = toDocument(context); |
OwnPtr<ResourceRequest> request(ResourceRequest::adopt(requestData)); |
- request->setHTTPReferrer(outgoingReferrer); |
+ request->setHTTPReferrer(AtomicString(outgoingReferrer)); |
options.requestInitiatorContext = WorkerContext; |
thisPtr->m_mainThreadLoader = DocumentThreadableLoader::create(document, thisPtr, *request, options); |
if (!thisPtr->m_mainThreadLoader) { |