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

Unified Diff: remoting/protocol/jingle_session.h

Issue 2314833002: Remove some uses of stl_util's STLDeleteContainerPointers. (Closed)
Patch Set: removed a few items Created 4 years, 3 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/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_;

Powered by Google App Engine
This is Rietveld 408576698