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

Unified Diff: webkit/fileapi/file_system_context_unittest.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_context_unittest.cc
diff --git a/webkit/fileapi/file_system_context_unittest.cc b/webkit/fileapi/file_system_context_unittest.cc
index 69133156b11e3684c701a813dbff05230e43bb6e..2992dfb9006b05a7d2b7feb983329cd29870432f 100644
--- a/webkit/fileapi/file_system_context_unittest.cc
+++ b/webkit/fileapi/file_system_context_unittest.cc
@@ -43,8 +43,8 @@ scoped_refptr<FileSystemContext> NewFileSystemContext(
bool allow_file_access,
bool unlimited_quota,
scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy) {
- return new FileSystemContext(base::MessageLoopProxy::CreateForCurrentThread(),
- base::MessageLoopProxy::CreateForCurrentThread(),
+ return new FileSystemContext(base::MessageLoopProxy::current(),
+ base::MessageLoopProxy::current(),
special_storage_policy,
NULL /* quota manager */,
FilePath(), false /* is_incognito */,
« no previous file with comments | « webkit/database/database_tracker_unittest.cc ('k') | webkit/fileapi/file_system_dir_url_request_job_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698