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

Unified Diff: webrtc/libjingle/xmllite/xmlnsstack.h

Issue 1935893002: Replace scoped_ptr with unique_ptr in webrtc/libjingle/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « webrtc/libjingle/xmllite/xmlbuilder.h ('k') | webrtc/libjingle/xmpp/chatroommoduleimpl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmllite/xmlnsstack.h
diff --git a/webrtc/libjingle/xmllite/xmlnsstack.h b/webrtc/libjingle/xmllite/xmlnsstack.h
index 174f8aefc054a88bc5d78838a0c1ff147f1d2346..07a9883de51465bae6a1c2a0b6d1594a9812c149 100644
--- a/webrtc/libjingle/xmllite/xmlnsstack.h
+++ b/webrtc/libjingle/xmllite/xmlnsstack.h
@@ -11,6 +11,7 @@
#ifndef WEBRTC_LIBJINGLE_XMLLITE_XMLNSSTACK_H_
#define WEBRTC_LIBJINGLE_XMLLITE_XMLNSSTACK_H_
+#include <memory>
#include <string>
#include <vector>
#include "webrtc/libjingle/xmllite/qname.h"
@@ -37,8 +38,8 @@ public:
private:
- rtc::scoped_ptr<std::vector<std::string> > pxmlnsStack_;
- rtc::scoped_ptr<std::vector<size_t> > pxmlnsDepthStack_;
+ std::unique_ptr<std::vector<std::string> > pxmlnsStack_;
+ std::unique_ptr<std::vector<size_t> > pxmlnsDepthStack_;
};
}
« no previous file with comments | « webrtc/libjingle/xmllite/xmlbuilder.h ('k') | webrtc/libjingle/xmpp/chatroommoduleimpl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698