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

Unified Diff: chrome/browser/sync/weak_handle.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 | « chrome/browser/sync/notifier/p2p_notifier.cc ('k') | chrome/common/important_file_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/weak_handle.cc
diff --git a/chrome/browser/sync/weak_handle.cc b/chrome/browser/sync/weak_handle.cc
index 1c78307f9fab45f584cbe1264932c4cca8a99d2c..b08030a5e1314688f7ad89ea74c6934bafca67e3 100644
--- a/chrome/browser/sync/weak_handle.cc
+++ b/chrome/browser/sync/weak_handle.cc
@@ -15,7 +15,7 @@ namespace internal {
WeakHandleCoreBase::WeakHandleCoreBase()
: owner_loop_(MessageLoop::current()),
- owner_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()),
+ owner_loop_proxy_(base::MessageLoopProxy::current()),
destroyed_on_owner_thread_(false) {
owner_loop_->AddDestructionObserver(this);
}
« no previous file with comments | « chrome/browser/sync/notifier/p2p_notifier.cc ('k') | chrome/common/important_file_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698