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