Index: Source/core/workers/WorkerScriptLoader.cpp |
diff --git a/Source/core/workers/WorkerScriptLoader.cpp b/Source/core/workers/WorkerScriptLoader.cpp |
index ba33a8bca24cc0758143aa9a305e5f4c5ad7cdb6..d782acfea844d8afd45d633298314dfbad130c34 100644 |
--- a/Source/core/workers/WorkerScriptLoader.cpp |
+++ b/Source/core/workers/WorkerScriptLoader.cpp |
@@ -53,7 +53,7 @@ WorkerScriptLoader::~WorkerScriptLoader() |
{ |
} |
-void WorkerScriptLoader::loadSynchronously(ExecutionContext* executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy) |
+void WorkerScriptLoader::loadSynchronously(ExecutionContext& executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy) |
{ |
m_url = url; |
@@ -61,7 +61,7 @@ void WorkerScriptLoader::loadSynchronously(ExecutionContext* executionContext, c |
if (!request) |
return; |
- ASSERT_WITH_SECURITY_IMPLICATION(executionContext->isWorkerGlobalScope()); |
+ ASSERT_WITH_SECURITY_IMPLICATION(executionContext.isWorkerGlobalScope()); |
ThreadableLoaderOptions options; |
options.allowCredentials = AllowStoredCredentials; |
@@ -72,7 +72,7 @@ void WorkerScriptLoader::loadSynchronously(ExecutionContext* executionContext, c |
WorkerThreadableLoader::loadResourceSynchronously(toWorkerGlobalScope(executionContext), *request, *this, options); |
} |
-void WorkerScriptLoader::loadAsynchronously(ExecutionContext* executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy, WorkerScriptLoaderClient* client) |
+void WorkerScriptLoader::loadAsynchronously(ExecutionContext& executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy, WorkerScriptLoaderClient* client) |
{ |
ASSERT(client); |
m_client = client; |