| Index: Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
|
| index b36029b4be8659ac126feb7ecafe6085d614ab0c..7d182b3edcebb39f7ff69102268640a3daa2fa8e 100644
|
| --- a/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -92,7 +92,7 @@ public:
|
| ASSERT(loadingContext);
|
| m_receiveResponseCallback = receiveResponseCallback;
|
| m_finishCallback = finishCallback;
|
| - m_scriptLoader->setTargetType(ResourceRequest::TargetIsSharedWorker);
|
| + m_scriptLoader->setRequestContext(ResourceRequest::SharedWorkerContext);
|
| m_scriptLoader->loadAsynchronously(
|
| *loadingContext, scriptURL, DenyCrossOriginRequests, this);
|
| }
|
|
|