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

Unified Diff: jingle/notifier/base/xmpp_connection_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: jingle/notifier/base/xmpp_connection_unittest.cc
diff --git a/jingle/notifier/base/xmpp_connection_unittest.cc b/jingle/notifier/base/xmpp_connection_unittest.cc
index 3b85363da9e05f1e05adaa94b196b2fc73f4f164..4e1baa3ae1b5e765c6a748445881c71b997df34a 100644
--- a/jingle/notifier/base/xmpp_connection_unittest.cc
+++ b/jingle/notifier/base/xmpp_connection_unittest.cc
@@ -38,7 +38,7 @@ namespace {
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/base/proxy_resolving_client_socket_unittest.cc ('k') | jingle/notifier/listener/mediator_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698