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

Unified Diff: webkit/fileapi/local_file_system_test_helper.cc

Issue 11275088: Remove implicit scoped_refptr operator T* Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 8 years, 2 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: 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 {
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/media/native_media_file_util_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698