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

Unified Diff: talk/app/webrtc/objc/RTCVideoRendererAdapter.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/RTCVideoCapturer.mm ('k') | talk/app/webrtc/objc/avfoundationvideocapturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/RTCVideoRendererAdapter.mm
diff --git a/talk/app/webrtc/objc/RTCVideoRendererAdapter.mm b/talk/app/webrtc/objc/RTCVideoRendererAdapter.mm
index e601420121b12be45d107ece0b45adbf2db78c55..b0b21291b91604134b238003205022efa1b01a79 100644
--- a/talk/app/webrtc/objc/RTCVideoRendererAdapter.mm
+++ b/talk/app/webrtc/objc/RTCVideoRendererAdapter.mm
@@ -32,6 +32,8 @@
#import "RTCI420Frame+Internal.h"
#import "RTCVideoRendererAdapter.h"
+#include <memory>
+
namespace webrtc {
class RTCVideoRendererNativeAdapter : public VideoRendererInterface {
@@ -60,7 +62,7 @@ class RTCVideoRendererNativeAdapter : public VideoRendererInterface {
@implementation RTCVideoRendererAdapter {
id<RTCVideoRenderer> _videoRenderer;
- rtc::scoped_ptr<webrtc::RTCVideoRendererNativeAdapter> _adapter;
+ std::unique_ptr<webrtc::RTCVideoRendererNativeAdapter> _adapter;
}
- (instancetype)initWithVideoRenderer:(id<RTCVideoRenderer>)videoRenderer {
« no previous file with comments | « talk/app/webrtc/objc/RTCVideoCapturer.mm ('k') | talk/app/webrtc/objc/avfoundationvideocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698