Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(150)

Unified Diff: webkit/fileapi/file_system_test_helper.cc

Issue 7583053: Add MessageLoopProxy::current (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No need for MessageLoopProxy destruction observer. Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());
« no previous file with comments | « webkit/fileapi/file_system_quota_unittest.cc ('k') | webkit/fileapi/file_system_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698