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

Unified Diff: webrtc/pc/videocapturertracksource_unittest.cc

Issue 2675173003: Adding "adapter" ORTC objects on top of ChannelManager/BaseChannel/etc. (Closed)
Patch Set: Created 3 years, 10 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
Index: webrtc/pc/videocapturertracksource_unittest.cc
diff --git a/webrtc/pc/videocapturertracksource_unittest.cc b/webrtc/pc/videocapturertracksource_unittest.cc
index 144d4b4b794288989b23f8064887d536adc57b0d..a706386a8dd1a57019998828caa6e6f99464ac06 100644
--- a/webrtc/pc/videocapturertracksource_unittest.cc
+++ b/webrtc/pc/videocapturertracksource_unittest.cc
@@ -121,9 +121,10 @@ class VideoCapturerTrackSourceTest : public testing::Test {
void CreateVideoCapturerSource(
const webrtc::MediaConstraintsInterface* constraints) {
// VideoSource take ownership of |capturer_|
- source_ = VideoCapturerTrackSource::Create(rtc::Thread::Current(),
- capturer_cleanup_.release(),
- constraints, false);
+ source_ = VideoCapturerTrackSource::Create(
+ rtc::Thread::Current(),
+ std::unique_ptr<cricket::VideoCapturer>(capturer_cleanup_.release()),
+ constraints, false);
ASSERT_TRUE(source_.get() != NULL);

Powered by Google App Engine
This is Rietveld 408576698