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

Unified Diff: remoting/protocol/webrtc_video_stream.cc

Issue 1864213002: Convert //remoting to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mac IWYU Created 4 years, 8 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 | « remoting/protocol/webrtc_video_stream.h ('k') | remoting/signaling/fake_signal_strategy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/webrtc_video_stream.cc
diff --git a/remoting/protocol/webrtc_video_stream.cc b/remoting/protocol/webrtc_video_stream.cc
index b43f189f15b6bd08f2e4a36911ed91fb420fbd52..b4dbae4a59e2e75cbf88a5878b1ee24439b017d0 100644
--- a/remoting/protocol/webrtc_video_stream.cc
+++ b/remoting/protocol/webrtc_video_stream.cc
@@ -34,11 +34,11 @@ WebrtcVideoStream::~WebrtcVideoStream() {
}
bool WebrtcVideoStream::Start(
- scoped_ptr<webrtc::DesktopCapturer> desktop_capturer,
+ std::unique_ptr<webrtc::DesktopCapturer> desktop_capturer,
scoped_refptr<webrtc::PeerConnectionInterface> connection,
scoped_refptr<webrtc::PeerConnectionFactoryInterface>
peer_connection_factory) {
- scoped_ptr<WebrtcVideoCapturerAdapter> capturer_adapter(
+ std::unique_ptr<WebrtcVideoCapturerAdapter> capturer_adapter(
new WebrtcVideoCapturerAdapter(std::move(desktop_capturer)));
capturer_adapter_ = capturer_adapter->GetWeakPtr();
« no previous file with comments | « remoting/protocol/webrtc_video_stream.h ('k') | remoting/signaling/fake_signal_strategy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698