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

Unified Diff: webrtc/libjingle/xmllite/xmlbuilder.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 | « no previous file | webrtc/libjingle/xmllite/xmlnsstack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmllite/xmlbuilder.h
diff --git a/webrtc/libjingle/xmllite/xmlbuilder.h b/webrtc/libjingle/xmllite/xmlbuilder.h
index ea452dbf0bece4f53e510d82c681c6a2102e49ae..abb3433fa65370839433c98b979ba1afeac25f00 100644
--- a/webrtc/libjingle/xmllite/xmlbuilder.h
+++ b/webrtc/libjingle/xmllite/xmlbuilder.h
@@ -11,6 +11,7 @@
#ifndef _xmlbuilder_h_
#define _xmlbuilder_h_
+#include <memory>
#include <string>
#include <vector>
#include "webrtc/libjingle/xmllite/xmlparser.h"
@@ -48,8 +49,8 @@ public:
private:
XmlElement * pelCurrent_;
- rtc::scoped_ptr<XmlElement> pelRoot_;
- rtc::scoped_ptr<std::vector<XmlElement*> > pvParents_;
+ std::unique_ptr<XmlElement> pelRoot_;
+ std::unique_ptr<std::vector<XmlElement*> > pvParents_;
};
}
« no previous file with comments | « no previous file | webrtc/libjingle/xmllite/xmlnsstack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698