| Index: webkit/browser/fileapi/sandbox_file_system_test_helper.cc
|
| diff --git a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
|
| index 1dfdc9629c87d3107db0ef604057e88a54be26fc..0e9ba0b87dc9f5ecf10937be43115798df07e707 100644
|
| --- a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
|
| +++ b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
|
| @@ -61,7 +61,7 @@ void SandboxFileSystemTestHelper::TearDown() {
|
| base::MessageLoop::current()->RunUntilIdle();
|
| }
|
|
|
| -base::FilePath SandboxFileSystemTestHelper::GetOriginRootPath() const {
|
| +base::FilePath SandboxFileSystemTestHelper::GetOriginRootPath() {
|
| return file_system_context_->sandbox_provider()->
|
| GetBaseDirectoryForOriginAndType(origin_, type_, false);
|
| }
|
| @@ -104,7 +104,7 @@ int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
|
| }
|
|
|
| int64
|
| -SandboxFileSystemTestHelper::ComputeCurrentDirectoryDatabaseUsage() const {
|
| +SandboxFileSystemTestHelper::ComputeCurrentDirectoryDatabaseUsage() {
|
| return file_util::ComputeDirectorySize(
|
| GetOriginRootPath().AppendASCII("Paths"));
|
| }
|
| @@ -141,8 +141,7 @@ void SandboxFileSystemTestHelper::SetUpFileSystem() {
|
|
|
| // Prepare the origin's root directory.
|
| file_system_context_->sandbox_provider()->
|
| - GetFileSystemRootPathOnFileThread(CreateURL(base::FilePath()),
|
| - true /* create */);
|
| + GetBaseDirectoryForOriginAndType(origin_, type_, true /* create */);
|
|
|
| // Initialize the usage cache file.
|
| base::FilePath usage_cache_path = GetUsageCachePath();
|
|
|