Index: webkit/fileapi/obfuscated_file_util_unittest.cc |
diff --git a/webkit/fileapi/obfuscated_file_util_unittest.cc b/webkit/fileapi/obfuscated_file_util_unittest.cc |
index df2ad6642c021f716e2657a29860604aefe3bd38..3bed8ee7998c2c9e78f776df160101104d139ddc 100644 |
--- a/webkit/fileapi/obfuscated_file_util_unittest.cc |
+++ b/webkit/fileapi/obfuscated_file_util_unittest.cc |
@@ -115,16 +115,16 @@ class ObfuscatedFileUtilTest : public testing::Test { |
quota_manager_ = new quota::QuotaManager( |
false /* is_incognito */, |
data_dir_.path(), |
- base::MessageLoopProxy::current(), |
- base::MessageLoopProxy::current(), |
- storage_policy); |
+ base::MessageLoopProxy::current().get(), |
+ base::MessageLoopProxy::current().get(), |
+ storage_policy.get()); |
// Every time we create a new helper, it creates another context, which |
// creates another path manager, another sandbox_mount_point_provider, and |
// another OFU. We need to pass in the context to skip all that. |
file_system_context_ = new FileSystemContext( |
FileSystemTaskRunners::CreateMockTaskRunners(), |
- storage_policy, |
+ storage_policy.get(), |
quota_manager_->proxy(), |
data_dir_.path(), |
CreateAllowFileAccessOptions()); |