summaryrefslogtreecommitdiffstats
path: root/jingle
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:42:19 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-04 06:42:19 +0000
commit7ffde472a24e440df7c1fc8dceba86a2bfb1e9a2 (patch)
tree7a035d4bd9bf6dc1ebad1f87c246d183751169d3 /jingle
parent1438ddecc934db8ee0b249870a8979287c79753f (diff)
downloadchromium_src-7ffde472a24e440df7c1fc8dceba86a2bfb1e9a2.zip
chromium_src-7ffde472a24e440df7c1fc8dceba86a2bfb1e9a2.tar.gz
chromium_src-7ffde472a24e440df7c1fc8dceba86a2bfb1e9a2.tar.bz2
Update remaining files to use WeakPtr<T>::get() instead of "operator T*"
BUG=245942 TBR=darin@chromium.org Review URL: https://codereview.chromium.org/16136005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203872 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle')
-rw-r--r--jingle/notifier/listener/xmpp_push_client.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/jingle/notifier/listener/xmpp_push_client.cc b/jingle/notifier/listener/xmpp_push_client.cc
index 2227650..322b185 100644
--- a/jingle/notifier/listener/xmpp_push_client.cc
+++ b/jingle/notifier/listener/xmpp_push_client.cc
@@ -37,7 +37,7 @@ void XmppPushClient::OnConnect(
{
// Owned by |base_task_|.
PushNotificationsListenTask* listener =
- new PushNotificationsListenTask(base_task_, this);
+ new PushNotificationsListenTask(base_task_.get(), this);
listener->Start();
}
@@ -45,7 +45,8 @@ void XmppPushClient::OnConnect(
{
// Owned by |base_task_|.
PushNotificationsSubscribeTask* subscribe_task =
- new PushNotificationsSubscribeTask(base_task_, subscriptions_, this);
+ new PushNotificationsSubscribeTask(
+ base_task_.get(), subscriptions_, this);
subscribe_task->Start();
}
@@ -147,7 +148,7 @@ void XmppPushClient::SendNotification(const Notification& notification) {
}
// Owned by |base_task_|.
PushNotificationsSendUpdateTask* task =
- new PushNotificationsSendUpdateTask(base_task_, notification);
+ new PushNotificationsSendUpdateTask(base_task_.get(), notification);
task->Start();
}
@@ -158,7 +159,7 @@ void XmppPushClient::SendPing() {
return;
}
// Owned by |base_task_|.
- SendPingTask* task = new SendPingTask(base_task_, this);
+ SendPingTask* task = new SendPingTask(base_task_.get(), this);
task->Start();
}