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(); |