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

Unified Diff: content/browser/worker_host/worker_process_host.cc

Issue 10600009: Support partitioning of storage contexts based on render_id. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix comments Created 8 years, 6 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: 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;

Powered by Google App Engine
This is Rietveld 408576698