| 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 494fb02dbb87c0b4737d510f89c38556d5e690d5..a180e55cbfea2257af11579b18c96bdee973919e 100644
|
| --- a/content/browser/worker_host/worker_process_host.cc
|
| +++ b/content/browser/worker_host/worker_process_host.cc
|
| @@ -44,7 +44,6 @@
|
| #include "net/base/registry_controlled_domain.h"
|
| #include "ui/base/ui_base_switches.h"
|
| #include "webkit/fileapi/file_system_context.h"
|
| -#include "webkit/fileapi/file_system_path_manager.h"
|
| #include "webkit/fileapi/sandbox_mount_point_provider.h"
|
| #include "webkit/glue/resource_type.h"
|
|
|
| @@ -197,7 +196,7 @@ bool WorkerProcessHost::Init(int render_process_id) {
|
| // This is for the filesystem sandbox.
|
| ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
|
| id(), resource_context_->file_system_context()->
|
| - path_manager()->sandbox_provider()->new_base_path(),
|
| + sandbox_provider()->new_base_path(),
|
| base::PLATFORM_FILE_OPEN |
|
| base::PLATFORM_FILE_CREATE |
|
| base::PLATFORM_FILE_OPEN_ALWAYS |
|
| @@ -214,7 +213,7 @@ bool WorkerProcessHost::Init(int render_process_id) {
|
| // sandbox.
|
| ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
|
| id(), resource_context_->file_system_context()->
|
| - path_manager()->sandbox_provider()->old_base_path(),
|
| + sandbox_provider()->old_base_path(),
|
| base::PLATFORM_FILE_READ | base::PLATFORM_FILE_WRITE |
|
| base::PLATFORM_FILE_WRITE_ATTRIBUTES |
|
| base::PLATFORM_FILE_ENUMERATE);
|
| @@ -222,7 +221,7 @@ bool WorkerProcessHost::Init(int render_process_id) {
|
| // we know we've taken care of it.
|
| ChildProcessSecurityPolicy::GetInstance()->GrantPermissionsForFile(
|
| id(), resource_context_->file_system_context()->
|
| - path_manager()->sandbox_provider()->renamed_old_base_path(),
|
| + sandbox_provider()->renamed_old_base_path(),
|
| base::PLATFORM_FILE_CREATE | base::PLATFORM_FILE_CREATE_ALWAYS |
|
| base::PLATFORM_FILE_WRITE);
|
| }
|
|
|