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

Unified Diff: remoting/client/plugin/pepper_xmpp_proxy.cc

Issue 15927028: Update remoting/ to use WeakPtr<T>::get() instead of implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: remoting/client/plugin/pepper_xmpp_proxy.cc
diff --git a/remoting/client/plugin/pepper_xmpp_proxy.cc b/remoting/client/plugin/pepper_xmpp_proxy.cc
index f289092f975e97b9a68854e428b6d3dc95bc9c6d..08a839969c8e239fff46a989f5670f06e6192813 100644
--- a/remoting/client/plugin/pepper_xmpp_proxy.cc
+++ b/remoting/client/plugin/pepper_xmpp_proxy.cc
@@ -51,7 +51,7 @@ void PepperXmppProxy::OnIq(const std::string& response_xml) {
return;
}
- if (callback_)
+ if (callback_.get())
callback_->OnIq(response_xml);
}

Powered by Google App Engine
This is Rietveld 408576698