diff options
Diffstat (limited to 'webkit/fileapi/file_system_test_helper.cc')
-rw-r--r-- | webkit/fileapi/file_system_test_helper.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/fileapi/file_system_test_helper.cc b/webkit/fileapi/file_system_test_helper.cc index dd5bfa4..535ad76 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()); |