Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
| index b022a24b3435027138a4c151d9e74b186111e5f4..30e67dd026eeb6f0b864b6e7b450efdf0e4db698 100644 |
| --- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
| @@ -342,7 +342,8 @@ void WebSharedWorkerImpl::onScriptLoaderFinished() |
| startMode, |
| contentSecurityPolicy ? contentSecurityPolicy->headers() : nullptr, |
| starterOrigin, |
| - workerClients.release()); |
| + workerClients.release(), |
| + document->addressSpace()); |
|
kinuko
2016/03/03 02:46:34
The document's completely bogus here, as it's just
Mike West
2016/03/03 05:24:26
Yeah. This should probably read from the script lo
|
| m_loaderProxy = WorkerLoaderProxy::create(this); |
| setWorkerThread(SharedWorkerThread::create(m_name, m_loaderProxy, *this)); |
| InspectorInstrumentation::scriptImported(m_loadingDocument.get(), m_mainScriptLoader->identifier(), m_mainScriptLoader->script()); |