Chromium Code Reviews| Index: content/browser/worker_host/worker_process_host.cc |
| diff --git a/content/browser/worker_host/worker_process_host.cc b/content/browser/worker_host/worker_process_host.cc |
| index 8a3882b9a0d52bcaa141e6ca45d954ea9e0a1381..7d0b0b74e3636e59796e5b8408e9ae6ffb6b7088 100644 |
| --- a/content/browser/worker_host/worker_process_host.cc |
| +++ b/content/browser/worker_host/worker_process_host.cc |
| @@ -622,7 +622,8 @@ bool WorkerProcessHost::WorkerInstance::Matches( |
| if (closed_) |
| return false; |
| - // Have to match the same ResourceContext. |
| + // ResourceContext equivalence is being used as a proxy for ensure we only |
|
nasko
2012/06/29 23:08:56
nit: s/for/to/?
awong
2012/07/09 20:37:43
Done.
|
| + // matched shared workers within the same BrowserContext. |
| if (resource_context_ != resource_context) |
| return false; |