Index: webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm |
diff --git a/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm b/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm |
index 1d64cd8d08be971c43dc58c9127dd7390daa3bd8..4976ba9f1f159bd185f237b67f402ea7bc05091b 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm |
+++ b/webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm |
@@ -12,6 +12,8 @@ |
#import "RTCVideoFrame+Private.h" |
+#include <memory> |
+ |
#include "webrtc/media/engine/webrtcvideoframe.h" |
namespace webrtc { |
@@ -60,7 +62,7 @@ class VideoRendererAdapter |
} |
@implementation RTCVideoRendererAdapter { |
- rtc::scoped_ptr<webrtc::VideoRendererAdapter> _adapter; |
+ std::unique_ptr<webrtc::VideoRendererAdapter> _adapter; |
} |
@synthesize videoRenderer = _videoRenderer; |