| Index: Source/core/workers/WorkerScriptLoader.cpp
|
| diff --git a/Source/core/workers/WorkerScriptLoader.cpp b/Source/core/workers/WorkerScriptLoader.cpp
|
| index ba33a8bca24cc0758143aa9a305e5f4c5ad7cdb6..e27820fee45b044e50cce4b57e78ff7f652376ad 100644
|
| --- a/Source/core/workers/WorkerScriptLoader.cpp
|
| +++ b/Source/core/workers/WorkerScriptLoader.cpp
|
| @@ -69,7 +69,7 @@ void WorkerScriptLoader::loadSynchronously(ExecutionContext* executionContext, c
|
| // FIXME: Should we add EnforceScriptSrcDirective here?
|
| options.contentSecurityPolicyEnforcement = DoNotEnforceContentSecurityPolicy;
|
|
|
| - WorkerThreadableLoader::loadResourceSynchronously(toWorkerGlobalScope(executionContext), *request, *this, options);
|
| + WorkerThreadableLoader::loadResourceSynchronously(toWorkerGlobalScope(*executionContext), *request, *this, options);
|
| }
|
|
|
| void WorkerScriptLoader::loadAsynchronously(ExecutionContext* executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy, WorkerScriptLoaderClient* client)
|
| @@ -88,7 +88,7 @@ void WorkerScriptLoader::loadAsynchronously(ExecutionContext* executionContext,
|
|
|
| // During create, callbacks may happen which remove the last reference to this object.
|
| RefPtr<WorkerScriptLoader> protect(this);
|
| - m_threadableLoader = ThreadableLoader::create(executionContext, this, *request, options);
|
| + m_threadableLoader = ThreadableLoader::create(*executionContext, this, *request, options);
|
| }
|
|
|
| const KURL& WorkerScriptLoader::responseURL() const
|
|
|