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

Unified Diff: webrtc/base/cryptstring.h

Issue 1920043002: Replace scoped_ptr with unique_ptr in webrtc/base/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixes for compile errors. 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
Index: webrtc/base/cryptstring.h
diff --git a/webrtc/base/cryptstring.h b/webrtc/base/cryptstring.h
index a6bae51f89755f2be46a092cb5a46ad99b7754b6..a2c8d0b0a080612e7297b25fa75ee1e48ec5bcd5 100644
--- a/webrtc/base/cryptstring.h
+++ b/webrtc/base/cryptstring.h
@@ -13,11 +13,11 @@
#include <string.h>
+#include <memory>
#include <string>
#include <vector>
#include "webrtc/base/linked_ptr.h"
-#include "webrtc/base/scoped_ptr.h"
namespace rtc {
@@ -62,7 +62,7 @@ public:
}
private:
- scoped_ptr<const CryptStringImpl> impl_;
+ std::unique_ptr<const CryptStringImpl> impl_;
};

Powered by Google App Engine
This is Rietveld 408576698