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

Unified Diff: jingle/notifier/listener/mediator_thread_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
« no previous file with comments | « jingle/notifier/listener/mediator_thread_impl.cc ('k') | net/base/directory_lister.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: jingle/notifier/listener/mediator_thread_unittest.cc
diff --git a/jingle/notifier/listener/mediator_thread_unittest.cc b/jingle/notifier/listener/mediator_thread_unittest.cc
index b97929db59e2d859a239ea41e91209b127c2c745..6b01aa5d1bac2e28a875c0786f821c60d57237bf 100644
--- a/jingle/notifier/listener/mediator_thread_unittest.cc
+++ b/jingle/notifier/listener/mediator_thread_unittest.cc
@@ -27,7 +27,7 @@ using ::testing::StrictMock;
class TestURLRequestContextGetter : public net::URLRequestContextGetter {
public:
TestURLRequestContextGetter()
- : message_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) {
+ : message_loop_proxy_(base::MessageLoopProxy::current()) {
}
virtual ~TestURLRequestContextGetter() { }
« no previous file with comments | « jingle/notifier/listener/mediator_thread_impl.cc ('k') | net/base/directory_lister.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698