Index: webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h b/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h |
index 3662c4486a4c189e55180abbca97a30608a57565..6ad3b6d8998898b2b36f5b188669525ca63675c4 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCMediaConstraints+Private.h |
@@ -10,6 +10,8 @@ |
#import "WebRTC/RTCMediaConstraints.h" |
+#include <memory> |
+ |
#include "webrtc/api/mediaconstraintsinterface.h" |
#include "webrtc/base/scoped_ptr.h" |
@@ -41,7 +43,7 @@ NS_ASSUME_NONNULL_BEGIN |
* A MediaConstraints representation of this RTCMediaConstraints object. This is |
* needed to pass to the underlying C++ APIs. |
*/ |
-- (rtc::scoped_ptr<webrtc::MediaConstraints>)nativeConstraints; |
+- (std::unique_ptr<webrtc::MediaConstraints>)nativeConstraints; |
/** Return a native Constraints object representing these constraints */ |
+ (webrtc::MediaConstraintsInterface::Constraints) |