Index: Source/core/workers/Worker.cpp |
diff --git a/Source/core/workers/Worker.cpp b/Source/core/workers/Worker.cpp |
index f75b7ac74a1c51b381eb8bae266ed29ff13cb264..6fdc15ba89032c564df047ed899cb27a5bbae79a 100644 |
--- a/Source/core/workers/Worker.cpp |
+++ b/Source/core/workers/Worker.cpp |
@@ -56,7 +56,7 @@ PassRefPtr<Worker> Worker::create(ExecutionContext* context, const String& url, |
Document* document = toDocument(context); |
UseCounter::count(context, UseCounter::WorkerStart); |
ASSERT(document->page()); |
- WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(document->page()); |
+ WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvider::from(*document->page()); |
ASSERT(proxyProvider); |
RefPtr<Worker> worker = adoptRef(new Worker(context)); |