| Index: Source/core/workers/WorkerScriptLoader.h
|
| diff --git a/Source/core/workers/WorkerScriptLoader.h b/Source/core/workers/WorkerScriptLoader.h
|
| index 00be0ba6624aad799806e783d06a169f14f6f47a..294954db6e6c076f0ae6cca5e22ee90b61feeae3 100644
|
| --- a/Source/core/workers/WorkerScriptLoader.h
|
| +++ b/Source/core/workers/WorkerScriptLoader.h
|
| @@ -32,6 +32,7 @@
|
| #include "core/loader/ThreadableLoaderClient.h"
|
| #include "platform/network/ResourceRequest.h"
|
| #include "platform/weborigin/KURL.h"
|
| +#include "public/platform/WebURLRequest.h"
|
| #include "wtf/FastAllocBase.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include "wtf/RefCounted.h"
|
| @@ -76,7 +77,7 @@ namespace WebCore {
|
| virtual void didFail(const ResourceError&) OVERRIDE;
|
| virtual void didFailRedirectCheck() OVERRIDE;
|
|
|
| - void setTargetType(ResourceRequest::TargetType targetType) { m_targetType = targetType; }
|
| + void setRequestContext(blink::WebURLRequest::RequestContext requestContext) { m_requestContext = requestContext; }
|
|
|
| private:
|
| friend class WTF::RefCounted<WorkerScriptLoader>;
|
| @@ -97,7 +98,7 @@ namespace WebCore {
|
| bool m_failed;
|
| unsigned long m_identifier;
|
| bool m_finishing;
|
| - ResourceRequest::TargetType m_targetType;
|
| + blink::WebURLRequest::RequestContext m_requestContext;
|
| };
|
|
|
| } // namespace WebCore
|
|
|