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

Unified Diff: talk/app/webrtc/objc/RTCI420Frame.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/RTCDataChannel.mm ('k') | talk/app/webrtc/objc/RTCMediaConstraints.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/RTCI420Frame.mm
diff --git a/talk/app/webrtc/objc/RTCI420Frame.mm b/talk/app/webrtc/objc/RTCI420Frame.mm
index 0ce24a349554262b8e3b1ee971bf098cd5256174..d8be8ceed14e1aa85b2ca9e95e44ba00b0bea66f 100644
--- a/talk/app/webrtc/objc/RTCI420Frame.mm
+++ b/talk/app/webrtc/objc/RTCI420Frame.mm
@@ -27,11 +27,12 @@
#import "RTCI420Frame.h"
+#include <memory>
+
#include "webrtc/media/base/videoframe.h"
-#include "webrtc/base/scoped_ptr.h"
@implementation RTCI420Frame {
- rtc::scoped_ptr<cricket::VideoFrame> _videoFrame;
+ std::unique_ptr<cricket::VideoFrame> _videoFrame;
}
- (NSUInteger)width {
« no previous file with comments | « talk/app/webrtc/objc/RTCDataChannel.mm ('k') | talk/app/webrtc/objc/RTCMediaConstraints.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698