diff options
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/notifier/listener/push_client.cc | 4 | ||||
-rw-r--r-- | jingle/notifier/listener/xmpp_push_client.cc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/jingle/notifier/listener/push_client.cc b/jingle/notifier/listener/push_client.cc index f96e8f8..f18ed52 100644 --- a/jingle/notifier/listener/push_client.cc +++ b/jingle/notifier/listener/push_client.cc @@ -27,13 +27,13 @@ scoped_ptr<PushClient> CreateXmppPushClient( scoped_ptr<PushClient> PushClient::CreateDefault( const NotifierOptions& notifier_options) { return scoped_ptr<PushClient>(new NonBlockingPushClient( - notifier_options.request_context_getter->GetIOMessageLoopProxy(), + notifier_options.request_context_getter->GetNetworkTaskRunner(), base::Bind(&CreateXmppPushClient, notifier_options))); } scoped_ptr<PushClient> PushClient::CreateDefaultOnIOThread( const NotifierOptions& notifier_options) { - CHECK(notifier_options.request_context_getter->GetIOMessageLoopProxy()-> + CHECK(notifier_options.request_context_getter->GetNetworkTaskRunner()-> BelongsToCurrentThread()); return CreateXmppPushClient(notifier_options); } diff --git a/jingle/notifier/listener/xmpp_push_client.cc b/jingle/notifier/listener/xmpp_push_client.cc index dcf828d8..b1272f3 100644 --- a/jingle/notifier/listener/xmpp_push_client.cc +++ b/jingle/notifier/listener/xmpp_push_client.cc @@ -15,7 +15,7 @@ namespace notifier { XmppPushClient::XmppPushClient(const NotifierOptions& notifier_options) : notifier_options_(notifier_options) { DCHECK(notifier_options_.request_context_getter-> - GetIOMessageLoopProxy()->BelongsToCurrentThread()); + GetNetworkTaskRunner()->BelongsToCurrentThread()); } XmppPushClient::~XmppPushClient() { |