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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider_unittest.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
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_mount_point_provider_unittest.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider_unittest.cc b/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
index 20f56c09a052c48052dfe70d8055274676c11f27..b31625107224ae955addfb9a44387cc200b4ca57 100644
--- a/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider_unittest.cc
@@ -41,7 +41,7 @@ class SandboxMountPointProviderOriginEnumeratorTest : public testing::Test {
sandbox_provider_.reset(
new SandboxMountPointProvider(
NULL,
- base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current().get(),
data_dir_.path(),
CreateAllowFileAccessOptions()));
}
@@ -150,7 +150,7 @@ class SandboxMountPointProviderMigrationTest : public testing::Test {
special_storage_policy->SetAllUnlimited(true);
file_system_context_ = new FileSystemContext(
FileSystemTaskRunners::CreateMockTaskRunners(),
- special_storage_policy,
+ special_storage_policy.get(),
NULL,
data_dir_.path(),
CreateAllowFileAccessOptions());
@@ -204,7 +204,7 @@ class SandboxMountPointProviderMigrationTest : public testing::Test {
}
FileSystemOperationContext* NewContext() {
- return new FileSystemOperationContext(file_system_context_);
+ return new FileSystemOperationContext(file_system_context_.get());
}
bool PathExists(const FileSystemURL& url) {
@@ -299,7 +299,7 @@ class SandboxMountPointProviderMigrationTest : public testing::Test {
break;
case 3:
sandbox_provider()->DeleteOriginDataOnFileThread(
- file_system_context_, NULL, origin_url, type);
+ file_system_context_.get(), NULL, origin_url, type);
break;
case 4:
sandbox_provider()->GetOriginsForTypeOnFileThread(
@@ -311,7 +311,7 @@ class SandboxMountPointProviderMigrationTest : public testing::Test {
break;
case 6:
sandbox_provider()->GetOriginUsageOnFileThread(
- file_system_context_, origin_url, type);
+ file_system_context_.get(), origin_url, type);
break;
default:
FAIL();
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.cc ('k') | webkit/glue/weburlloader_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698