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

Unified Diff: webrtc/base/macifaddrs_converter.cc

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/maccocoasocketserver_unittest.mm ('k') | webrtc/base/macsocketserver_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/macifaddrs_converter.cc
diff --git a/webrtc/base/macifaddrs_converter.cc b/webrtc/base/macifaddrs_converter.cc
index 0916cb5ba27f182e5bef22e9d41564b64fcf9b5e..2ad070e8eab6c1e4588efd72354988c97fb19e54 100644
--- a/webrtc/base/macifaddrs_converter.cc
+++ b/webrtc/base/macifaddrs_converter.cc
@@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
+#include <memory>
+
#include <net/if.h>
#include <sys/ioctl.h>
#include <unistd.h>
@@ -15,7 +17,6 @@
#include "webrtc/base/checks.h"
#include "webrtc/base/ifaddrs_converter.h"
#include "webrtc/base/logging.h"
-#include "webrtc/base/scoped_ptr.h"
#if !defined(WEBRTC_IOS)
#include <net/if_media.h>
@@ -269,7 +270,7 @@ class MacIfAddrsConverter : public IfAddrsConverter {
}
private:
- rtc::scoped_ptr<IPv6AttributesGetter> ip_attribute_getter_;
+ std::unique_ptr<IPv6AttributesGetter> ip_attribute_getter_;
};
} // namespace
« no previous file with comments | « webrtc/base/maccocoasocketserver_unittest.mm ('k') | webrtc/base/macsocketserver_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698