| Index: Source/web/WebSharedWorkerImpl.cpp
|
| diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
|
| index b36029b4be8659ac126feb7ecafe6085d614ab0c..4758481aa70023f62b29216b1cb8fe6a0517753b 100644
|
| --- a/Source/web/WebSharedWorkerImpl.cpp
|
| +++ b/Source/web/WebSharedWorkerImpl.cpp
|
| @@ -58,6 +58,7 @@
|
| #include "public/platform/WebMessagePortChannel.h"
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| +#include "public/platform/WebURLRequest.h"
|
| #include "public/web/WebFrame.h"
|
| #include "public/web/WebSettings.h"
|
| #include "public/web/WebView.h"
|
| @@ -92,7 +93,7 @@ public:
|
| ASSERT(loadingContext);
|
| m_receiveResponseCallback = receiveResponseCallback;
|
| m_finishCallback = finishCallback;
|
| - m_scriptLoader->setTargetType(ResourceRequest::TargetIsSharedWorker);
|
| + m_scriptLoader->setRequestContext(blink::WebURLRequest::RequestContextSharedWorker);
|
| m_scriptLoader->loadAsynchronously(
|
| *loadingContext, scriptURL, DenyCrossOriginRequests, this);
|
| }
|
|
|