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

Unified Diff: webrtc/pc/videotrack_unittest.cc

Issue 2989113002: Reland of Change VideoTrack implementation to invoke VideoTrackSourceInterface::AddOrUpdateSink on … (Closed)
Patch Set: Readd default implementation of AddSink and RemoveSink. Created 3 years, 5 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 | « webrtc/pc/videotrack.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/videotrack_unittest.cc
diff --git a/webrtc/pc/videotrack_unittest.cc b/webrtc/pc/videotrack_unittest.cc
index d033efe6327b3a559f624b2ee0a687da0c69cc9c..1f569ebd5926b23d304f7a84e534dedadcbdd528 100644
--- a/webrtc/pc/videotrack_unittest.cc
+++ b/webrtc/pc/videotrack_unittest.cc
@@ -31,7 +31,8 @@ class VideoTrackTest : public testing::Test {
static const char kVideoTrackId[] = "track_id";
video_track_source_ = new rtc::RefCountedObject<VideoTrackSource>(
&capturer_, true /* remote */);
- video_track_ = VideoTrack::Create(kVideoTrackId, video_track_source_);
+ video_track_ = VideoTrack::Create(kVideoTrackId, video_track_source_,
+ rtc::Thread::Current());
capturer_.Start(
cricket::VideoFormat(640, 480, cricket::VideoFormat::FpsToInterval(30),
cricket::FOURCC_I420));
« no previous file with comments | « webrtc/pc/videotrack.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698