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

Unified Diff: chrome/worker/webworkerclient_proxy.cc

Issue 390017: Added lifecycle management and sharing support for SharedWorkers. SharedWorkers (Closed)
Patch Set: Changed WebWorkerBase not not call a virtual function from the destructor Created 11 years, 1 month 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: chrome/worker/webworkerclient_proxy.cc
diff --git a/chrome/worker/webworkerclient_proxy.cc b/chrome/worker/webworkerclient_proxy.cc
index 8519c23b33a4684cbd34afc6d951ece41dd26da3..6ba589f3afecb475eca6d0e39f67292118a50415 100644
--- a/chrome/worker/webworkerclient_proxy.cc
+++ b/chrome/worker/webworkerclient_proxy.cc
@@ -92,8 +92,7 @@ void WebWorkerClientProxy::reportPendingActivity(bool has_pending_activity) {
}
void WebWorkerClientProxy::workerContextClosed() {
- // TODO(atwilson): Notify WorkerProcessHost that the worker context is closing
- // (needed for shared workers so we don't allow new connections).
+ Send(new WorkerHostMsg_WorkerContextClosed(route_id_));
}
void WebWorkerClientProxy::workerContextDestroyed() {

Powered by Google App Engine
This is Rietveld 408576698