diff options
Diffstat (limited to 'jingle/notifier')
4 files changed, 4 insertions, 4 deletions
diff --git a/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc b/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc index c7dc618..e0a46e5 100644 --- a/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc +++ b/jingle/notifier/base/proxy_resolving_client_socket_unittest.cc @@ -17,7 +17,7 @@ namespace { class TestURLRequestContextGetter : public net::URLRequestContextGetter { public: TestURLRequestContextGetter() - : message_loop_proxy_(base::MessageLoopProxy::CreateForCurrentThread()) { + : message_loop_proxy_(base::MessageLoopProxy::current()) { } virtual ~TestURLRequestContextGetter() { } diff --git a/jingle/notifier/base/xmpp_connection_unittest.cc b/jingle/notifier/base/xmpp_connection_unittest.cc index 3b85363..4e1baa3 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() { } diff --git a/jingle/notifier/listener/mediator_thread_impl.cc b/jingle/notifier/listener/mediator_thread_impl.cc index a9d7052..b5468de 100644 --- a/jingle/notifier/listener/mediator_thread_impl.cc +++ b/jingle/notifier/listener/mediator_thread_impl.cc @@ -213,7 +213,7 @@ void MediatorThreadImpl::Core::OnDisconnect() { MediatorThreadImpl::MediatorThreadImpl(const NotifierOptions& notifier_options) : core_(new Core(notifier_options)), parent_message_loop_proxy_( - base::MessageLoopProxy::CreateForCurrentThread()), + base::MessageLoopProxy::current()), io_message_loop_proxy_( notifier_options.request_context_getter->GetIOMessageLoopProxy()) { } diff --git a/jingle/notifier/listener/mediator_thread_unittest.cc b/jingle/notifier/listener/mediator_thread_unittest.cc index b97929d..6b01aa5 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() { } |