Index: webrtc/pc/rtpsenderreceiver_unittest.cc |
diff --git a/webrtc/pc/rtpsenderreceiver_unittest.cc b/webrtc/pc/rtpsenderreceiver_unittest.cc |
index 994cf3d59ee3eec127ffd9986cc0636e89bf4d5c..f4aba503812ae57ae439f0d06ab7d3fefc1ca901 100644 |
--- a/webrtc/pc/rtpsenderreceiver_unittest.cc |
+++ b/webrtc/pc/rtpsenderreceiver_unittest.cc |
@@ -124,7 +124,8 @@ class RtpSenderReceiverTest : public testing::Test, |
void AddVideoTrack(bool is_screencast) { |
rtc::scoped_refptr<VideoTrackSourceInterface> source( |
FakeVideoTrackSource::Create(is_screencast)); |
- video_track_ = VideoTrack::Create(kVideoTrackId, source); |
+ video_track_ = |
+ VideoTrack::Create(kVideoTrackId, source, rtc::Thread::Current()); |
EXPECT_TRUE(local_stream_->AddTrack(video_track_)); |
} |