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

Unified Diff: Source/web/WebSharedWorkerImpl.cpp

Issue 102243010: Move the worker script loading code to the worker process (phase:1/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 6 years, 11 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
« no previous file with comments | « Source/web/SharedWorkerRepositoryClientImpl.cpp ('k') | public/web/WebSharedWorkerClient.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSharedWorkerImpl.cpp
diff --git a/Source/web/WebSharedWorkerImpl.cpp b/Source/web/WebSharedWorkerImpl.cpp
index 5eaacfa7b28bc228b1f0b258be293e7ce181859e..97fb9abf6be30d7d1d0e8fc089dc3c4cafdc8511 100644
--- a/Source/web/WebSharedWorkerImpl.cpp
+++ b/Source/web/WebSharedWorkerImpl.cpp
@@ -248,6 +248,9 @@ void WebSharedWorkerImpl::startWorkerContext(const WebURL& url, const WebString&
setWorkerThread(SharedWorkerThread::create(name, *this, *this, startupData.release()));
workerThread()->start();
+ // FIXME(horo): This call will be moved when we implement script loading in WebSharedWorkerImpl.
+ if (client())
+ client()->workerScriptLoaded();
}
void WebSharedWorkerImpl::terminateWorkerContext()
« no previous file with comments | « Source/web/SharedWorkerRepositoryClientImpl.cpp ('k') | public/web/WebSharedWorkerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698