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

Unified Diff: base/observer_list_unittest.cc

Issue 8888021: Remove MessageLoop::QuitTask() from base. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: *sigh* Created 9 years 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 | « base/message_pump_glib_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/observer_list_unittest.cc
diff --git a/base/observer_list_unittest.cc b/base/observer_list_unittest.cc
index f7fc1cb34d25ce3cdab2beb67efe13eeb46c09d4..034581f871768fe410c1e33d783b351a5f7aaa53 100644
--- a/base/observer_list_unittest.cc
+++ b/base/observer_list_unittest.cc
@@ -142,7 +142,7 @@ class AddRemoveThread : public PlatformThread::Delegate,
}
void Quit() {
- loop_->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ loop_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
virtual void Observe(int x) {
« no previous file with comments | « base/message_pump_glib_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698