| Index: content/browser/worker_host/worker_process_host.cc
|
| ===================================================================
|
| --- content/browser/worker_host/worker_process_host.cc (revision 83771)
|
| +++ content/browser/worker_host/worker_process_host.cc (working copy)
|
| @@ -175,7 +175,8 @@
|
| #endif
|
| cmd_line);
|
|
|
| - ChildProcessSecurityPolicy::GetInstance()->Add(id());
|
| + ChildProcessSecurityPolicy::GetInstance()->AddWorker(
|
| + id(), render_process_id);
|
| if (!CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kDisableFileSystem)) {
|
| // Grant most file permissions to this worker.
|
|
|