Index: remoting/protocol/jingle_session.h |
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h |
index 3cb4fca141ae711b15a3810611dcdb73bf4db9e6..b577198c6965dd566a80353e72451e54fcf0d011 100644 |
--- a/remoting/protocol/jingle_session.h |
+++ b/remoting/protocol/jingle_session.h |
@@ -130,10 +130,10 @@ class JingleSession : public Session { |
Transport* transport_ = nullptr; |
// Pending Iq requests. Used for all messages except transport-info. |
- std::set<IqRequest*> pending_requests_; |
+ std::set<std::unique_ptr<IqRequest>> pending_requests_; |
// Pending transport-info requests. |
- std::list<IqRequest*> transport_info_requests_; |
+ std::list<std::unique_ptr<IqRequest>> transport_info_requests_; |
base::WeakPtrFactory<JingleSession> weak_factory_; |