Index: webrtc/api/peerconnectionendtoend_unittest.cc |
diff --git a/webrtc/api/peerconnectionendtoend_unittest.cc b/webrtc/api/peerconnectionendtoend_unittest.cc |
index 95369b15c0823a0bbb81f6e517780711f94d2c1d..8e248ed54fecbf9b6a0998ef0677ca1da373ef69 100644 |
--- a/webrtc/api/peerconnectionendtoend_unittest.cc |
+++ b/webrtc/api/peerconnectionendtoend_unittest.cc |
@@ -50,11 +50,12 @@ class PeerConnectionEndToEndTest |
DataChannelList; |
PeerConnectionEndToEndTest() { |
+ RTC_CHECK(network_thread_.Start()); |
RTC_CHECK(worker_thread_.Start()); |
caller_ = new rtc::RefCountedObject<PeerConnectionTestWrapper>( |
- "caller", &worker_thread_); |
+ "caller", &network_thread_, &worker_thread_); |
callee_ = new rtc::RefCountedObject<PeerConnectionTestWrapper>( |
- "callee", &worker_thread_); |
+ "callee", &network_thread_, &worker_thread_); |
#ifdef WEBRTC_ANDROID |
webrtc::InitializeAndroidObjects(); |
#endif |
@@ -155,6 +156,7 @@ class PeerConnectionEndToEndTest |
} |
protected: |
+ rtc::Thread network_thread_; |
rtc::Thread worker_thread_; |
rtc::scoped_refptr<PeerConnectionTestWrapper> caller_; |
rtc::scoped_refptr<PeerConnectionTestWrapper> callee_; |