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

Unified Diff: talk/app/webrtc/objc/RTCMediaConstraints.mm

Issue 1785353003: Replace scoped_ptr with unique_ptr in talk/ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « talk/app/webrtc/objc/RTCI420Frame.mm ('k') | talk/app/webrtc/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/RTCMediaConstraints.mm
diff --git a/talk/app/webrtc/objc/RTCMediaConstraints.mm b/talk/app/webrtc/objc/RTCMediaConstraints.mm
index f5cfe33619c114454cdeff9d3347b83040da1ebf..a79afb1794117767dc490d6b3de35a79a8346c3d 100644
--- a/talk/app/webrtc/objc/RTCMediaConstraints.mm
+++ b/talk/app/webrtc/objc/RTCMediaConstraints.mm
@@ -33,13 +33,13 @@
#import "RTCPair.h"
-#include "webrtc/base/scoped_ptr.h"
+#include <memory>
// TODO(hughv): Add accessors for mandatory and optional constraints.
// TODO(hughv): Add description.
@implementation RTCMediaConstraints {
- rtc::scoped_ptr<webrtc::RTCMediaConstraintsNative> _constraints;
+ std::unique_ptr<webrtc::RTCMediaConstraintsNative> _constraints;
webrtc::MediaConstraintsInterface::Constraints _mandatory;
webrtc::MediaConstraintsInterface::Constraints _optional;
}
« no previous file with comments | « talk/app/webrtc/objc/RTCI420Frame.mm ('k') | talk/app/webrtc/objc/RTCMediaStreamTrack.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698