Index: third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp b/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp |
index f351c47e7aac248554a3567dac36e1ad02353a60..69cb308456386e64b0a95c985d124011fa662b77 100644 |
--- a/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp |
+++ b/third_party/WebKit/Source/web/WorkerGlobalScopeProxyProviderImpl.cpp |
@@ -47,8 +47,8 @@ namespace blink { |
WorkerGlobalScopeProxy* WorkerGlobalScopeProxyProviderImpl::createWorkerGlobalScopeProxy(Worker* worker) |
{ |
- if (worker->executionContext()->isDocument()) { |
- Document* document = toDocument(worker->executionContext()); |
+ if (worker->getExecutionContext()->isDocument()) { |
+ Document* document = toDocument(worker->getExecutionContext()); |
WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(document->frame()); |
OwnPtrWillBeRawPtr<WorkerClients> workerClients = WorkerClients::create(); |
provideLocalFileSystemToWorker(workerClients.get(), LocalFileSystemClient::create()); |