Index: webkit/fileapi/file_system_test_helper.cc |
diff --git a/webkit/fileapi/file_system_test_helper.cc b/webkit/fileapi/file_system_test_helper.cc |
index dd5bfa45abfad4bda6cad02eb31ab967931362e6..535ad769e3257625941509477f3259cd8f9a7c59 100644 |
--- a/webkit/fileapi/file_system_test_helper.cc |
+++ b/webkit/fileapi/file_system_test_helper.cc |
@@ -94,8 +94,8 @@ void FileSystemTestOriginHelper::SetUp( |
file_util_ = file_util; |
DCHECK(file_util_); |
file_system_context_ = new FileSystemContext( |
- base::MessageLoopProxy::CreateForCurrentThread(), |
- base::MessageLoopProxy::CreateForCurrentThread(), |
+ base::MessageLoopProxy::current(), |
+ base::MessageLoopProxy::current(), |
new TestSpecialStoragePolicy(unlimited_quota), |
quota_manager_proxy, |
base_dir, |
@@ -183,7 +183,7 @@ FileSystemOperation* FileSystemTestOriginHelper::NewOperation( |
DCHECK(file_util_); |
FileSystemOperation* operation = |
new FileSystemOperation(callback_dispatcher, |
- base::MessageLoopProxy::CreateForCurrentThread(), |
+ base::MessageLoopProxy::current(), |
file_system_context_.get(), |
file_util_); |
InitializeOperationContext(operation->file_system_operation_context()); |