Index: content/worker/websharedworkerclient_proxy.cc |
diff --git a/content/worker/websharedworkerclient_proxy.cc b/content/worker/websharedworkerclient_proxy.cc |
index dbb8bef20acedd6287d69c41c11321aa881d35eb..21cd69bd4bb48f7065640a504945222e55178683 100644 |
--- a/content/worker/websharedworkerclient_proxy.cc |
+++ b/content/worker/websharedworkerclient_proxy.cc |
@@ -192,15 +192,6 @@ bool WebSharedWorkerClientProxy::Send(IPC::Message* message) { |
} |
void WebSharedWorkerClientProxy::EnsureWorkerContextTerminates() { |
- // Avoid a worker doing a while(1) from never exiting. |
- if (CommandLine::ForCurrentProcess()->HasSwitch( |
- switches::kWebWorkerShareProcesses)) { |
- // Can't kill the process since there could be workers from other |
- // renderer process. |
- NOTIMPLEMENTED(); |
- return; |
- } |
- |
// This shuts down the process cleanly from the perspective of the browser |
// process, and avoids the crashed worker infobar from appearing to the new |
// page. It's ok to post several of theese, because the first executed task |