Index: webrtc/libjingle/xmpp/pubsubstateclient.h |
diff --git a/webrtc/libjingle/xmpp/pubsubstateclient.h b/webrtc/libjingle/xmpp/pubsubstateclient.h |
index 13bfe1971eaf50d4d701c2a797e92af92c5e724b..e78ddb5aff2fd3b3de02f0764a9872c126c4c15a 100644 |
--- a/webrtc/libjingle/xmpp/pubsubstateclient.h |
+++ b/webrtc/libjingle/xmpp/pubsubstateclient.h |
@@ -12,6 +12,7 @@ |
#define WEBRTC_LIBJINGLE_XMPP_PUBSUBSTATECLIENT_H_ |
#include <map> |
+#include <memory> |
#include <string> |
#include <vector> |
@@ -257,8 +258,8 @@ class PubSubStateClient : public sigslot::has_slots<> { |
PubSubClient* client_; |
const QName state_name_; |
C default_state_; |
- rtc::scoped_ptr<PubSubStateKeySerializer> key_serializer_; |
- rtc::scoped_ptr<PubSubStateSerializer<C> > state_serializer_; |
+ std::unique_ptr<PubSubStateKeySerializer> key_serializer_; |
+ std::unique_ptr<PubSubStateSerializer<C> > state_serializer_; |
// key => state |
std::map<std::string, C> state_by_key_; |
// itemid => StateItemInfo |