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

Unified Diff: net/base/directory_lister.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
« no previous file with comments | « jingle/notifier/listener/mediator_thread_unittest.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/directory_lister.cc
diff --git a/net/base/directory_lister.cc b/net/base/directory_lister.cc
index dc417566d7ffde2c3ef696778faf7fb4ea82c3da..86ece733c42f76382dd8d226b3e754bccd99c7ef 100644
--- a/net/base/directory_lister.cc
+++ b/net/base/directory_lister.cc
@@ -171,7 +171,7 @@ DirectoryLister::Core::Core(const FilePath& dir,
DirectoryLister::Core::~Core() {}
bool DirectoryLister::Core::Start() {
- origin_loop_ = base::MessageLoopProxy::CreateForCurrentThread();
+ origin_loop_ = base::MessageLoopProxy::current();
return base::WorkerPool::PostTask(
FROM_HERE, NewRunnableMethod(this, &Core::StartInternal), true);
« no previous file with comments | « jingle/notifier/listener/mediator_thread_unittest.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698