Index: webrtc/pc/peerconnectioninterface_unittest.cc |
diff --git a/webrtc/pc/peerconnectioninterface_unittest.cc b/webrtc/pc/peerconnectioninterface_unittest.cc |
index f8d9ef60208e0b81786012dc6e734f8547d7d5ab..ae4bca9e40924e235b59689a508bb9e32a5a4b79 100644 |
--- a/webrtc/pc/peerconnectioninterface_unittest.cc |
+++ b/webrtc/pc/peerconnectioninterface_unittest.cc |
@@ -458,7 +458,8 @@ rtc::scoped_refptr<StreamCollection> CreateStreamCollection( |
// Add a local video track. |
rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( |
webrtc::VideoTrack::Create(kVideoTracks[i * tracks_per_stream + j], |
- webrtc::FakeVideoTrackSource::Create())); |
+ webrtc::FakeVideoTrackSource::Create(), |
+ rtc::Thread::Current())); |
stream->AddTrack(video_track); |
} |
@@ -1093,7 +1094,8 @@ class PeerConnectionInterfaceTest : public testing::Test { |
MediaStreamInterface* stream) { |
rtc::scoped_refptr<webrtc::VideoTrackInterface> video_track( |
webrtc::VideoTrack::Create(track_id, |
- webrtc::FakeVideoTrackSource::Create())); |
+ webrtc::FakeVideoTrackSource::Create(), |
+ rtc::Thread::Current())); |
ASSERT_TRUE(stream->AddTrack(video_track)); |
} |