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

Unified Diff: talk/app/webrtc/objc/RTCPeerConnectionFactory.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/RTCPeerConnection.mm ('k') | talk/app/webrtc/objc/RTCPeerConnectionFactory+Internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/app/webrtc/objc/RTCPeerConnectionFactory.mm
diff --git a/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm b/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm
index a60263a12f7c61bcd7c63db247be60379a8438f5..cd81f35e2a1864efcbeec4e0e6f431219d545713 100644
--- a/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm
+++ b/talk/app/webrtc/objc/RTCPeerConnectionFactory.mm
@@ -31,6 +31,7 @@
#import "RTCPeerConnectionFactory+Internal.h"
+#include <memory>
#include <vector>
#import "RTCAudioTrack+Internal.h"
@@ -55,8 +56,8 @@
#include "webrtc/base/ssladapter.h"
@implementation RTCPeerConnectionFactory {
- rtc::scoped_ptr<rtc::Thread> _signalingThread;
- rtc::scoped_ptr<rtc::Thread> _workerThread;
+ std::unique_ptr<rtc::Thread> _signalingThread;
+ std::unique_ptr<rtc::Thread> _workerThread;
}
@synthesize nativeFactory = _nativeFactory;
« no previous file with comments | « talk/app/webrtc/objc/RTCPeerConnection.mm ('k') | talk/app/webrtc/objc/RTCPeerConnectionFactory+Internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698