Index: webkit/fileapi/local_file_system_test_helper.cc |
diff --git a/webkit/fileapi/local_file_system_test_helper.cc b/webkit/fileapi/local_file_system_test_helper.cc |
index 1983c1edd7e6b79a0c976a347febe60eb974d7d4..3aa89a8576194fe729ff69e94c02b2a8f559d861 100644 |
--- a/webkit/fileapi/local_file_system_test_helper.cc |
+++ b/webkit/fileapi/local_file_system_test_helper.cc |
@@ -70,7 +70,7 @@ void LocalFileSystemTestOriginHelper::SetUp( |
special_storage_policy->SetAllUnlimited(unlimited_quota); |
file_system_context_ = new FileSystemContext( |
FileSystemTaskRunners::CreateMockTaskRunners(), |
- special_storage_policy, |
+ special_storage_policy.get(), |
quota_manager_proxy, |
base_dir, |
CreateAllowFileAccessOptions()); |
@@ -155,7 +155,7 @@ base::PlatformFileError LocalFileSystemTestOriginHelper::SameFileUtilMove( |
int64 LocalFileSystemTestOriginHelper::GetCachedOriginUsage() const { |
return file_system_context_->GetQuotaUtil(type_)->GetOriginUsageOnFileThread( |
- file_system_context_, origin_, type_); |
+ file_system_context_.get(), origin_, type_); |
} |
int64 LocalFileSystemTestOriginHelper::ComputeCurrentOriginUsage() const { |