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

Unified Diff: webrtc/base/linux.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: Rebased 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/base/httpserver.h ('k') | webrtc/base/logging.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/linux.h
diff --git a/webrtc/base/linux.h b/webrtc/base/linux.h
index ba73b854ba8c05cfc80fb7c3d1435fa4ec6ebf5c..b69de3b370192088b3a8d7996c7741e8587d5173 100644
--- a/webrtc/base/linux.h
+++ b/webrtc/base/linux.h
@@ -14,9 +14,9 @@
#if defined(WEBRTC_LINUX)
#include <string>
#include <map>
+#include <memory>
#include <vector>
-#include "webrtc/base/scoped_ptr.h"
#include "webrtc/base/stream.h"
namespace rtc {
@@ -51,7 +51,7 @@ class ConfigParser {
virtual bool ParseLine(std::string* key, std::string* value);
private:
- scoped_ptr<StreamInterface> instream_;
+ std::unique_ptr<StreamInterface> instream_;
};
//////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « webrtc/base/httpserver.h ('k') | webrtc/base/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698