summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_quota_client_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/fileapi/file_system_quota_client_unittest.cc')
-rw-r--r--webkit/fileapi/file_system_quota_client_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/webkit/fileapi/file_system_quota_client_unittest.cc b/webkit/fileapi/file_system_quota_client_unittest.cc
index 2254f51..b78d187 100644
--- a/webkit/fileapi/file_system_quota_client_unittest.cc
+++ b/webkit/fileapi/file_system_quota_client_unittest.cc
@@ -35,7 +35,7 @@ const quota::StorageType kPersistent = quota::kStorageTypePersistent;
class MockFileSystemPathManager : public FileSystemPathManager {
public:
explicit MockFileSystemPathManager(const FilePath& filesystem_path)
- : FileSystemPathManager(base::MessageLoopProxy::CreateForCurrentThread(),
+ : FileSystemPathManager(base::MessageLoopProxy::current(),
filesystem_path, NULL, false, true) {}
};
@@ -53,8 +53,8 @@ class FileSystemQuotaClientTest : public testing::Test {
ASSERT_TRUE(data_dir_.CreateUniqueTempDir());
file_system_context_ =
new FileSystemContext(
- base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
NULL, NULL,
FilePath(), false /* is_incognito */,
false, true,
@@ -72,7 +72,7 @@ class FileSystemQuotaClientTest : public testing::Test {
protected:
FileSystemQuotaClient* NewQuotaClient(bool is_incognito) {
return new FileSystemQuotaClient(
- base::MessageLoopProxy::CreateForCurrentThread(),
+ base::MessageLoopProxy::current(),
file_system_context_, is_incognito);
}