Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(800)

Unified Diff: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp

Issue 1760523004: CORS-RFC1918: Teach Workers about address spaces. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Oops. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698