summaryrefslogtreecommitdiff
path: root/Source/web/WebWorkerClientImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/web/WebWorkerClientImpl.cpp')
-rw-r--r--Source/web/WebWorkerClientImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/web/WebWorkerClientImpl.cpp b/Source/web/WebWorkerClientImpl.cpp
index 3457ca678..0f00a1545 100644
--- a/Source/web/WebWorkerClientImpl.cpp
+++ b/Source/web/WebWorkerClientImpl.cpp
@@ -32,7 +32,7 @@
#include "WebWorkerClientImpl.h"
#include "core/dom/Document.h"
-#include "core/dom/ScriptExecutionContext.h"
+#include "core/dom/ExecutionContext.h"
#include "core/inspector/ScriptCallStack.h"
#include "core/workers/Worker.h"
#include "core/workers/WorkerClients.h"
@@ -56,8 +56,8 @@ namespace WebKit {
// static
WorkerGlobalScopeProxy* WebWorkerClientImpl::createWorkerGlobalScopeProxy(Worker* worker)
{
- if (worker->scriptExecutionContext()->isDocument()) {
- Document* document = toDocument(worker->scriptExecutionContext());
+ if (worker->executionContext()->isDocument()) {
+ Document* document = toDocument(worker->executionContext());
WebFrameImpl* webFrame = WebFrameImpl::fromFrame(document->frame());
OwnPtr<WorkerClients> workerClients = WorkerClients::create();
provideLocalFileSystemToWorker(workerClients.get(), WorkerFileSystemClient::create());