| Index: webrtc/api/webrtcsession_unittest.cc
|
| diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc
|
| index ee1d19b23adaee4cf899e28666b294dafc0aa127..29f94dedb4782414e9f2dfb9d29eb609f0a09a8d 100644
|
| --- a/webrtc/api/webrtcsession_unittest.cc
|
| +++ b/webrtc/api/webrtcsession_unittest.cc
|
| @@ -2242,7 +2242,9 @@ TEST_F(WebRtcSessionTest,
|
| candidates = local_desc->candidates(kMediaContentIndex0);
|
| size_t num_local_candidates = candidates->count();
|
| // Enable Continual Gathering
|
| - session_->SetIceConfig(cricket::IceConfig(-1, -1, true, false, -1, true));
|
| + cricket::IceConfig config;
|
| + config.continual_gathering_policy = cricket::GATHER_CONTINUALLY;
|
| + session_->SetIceConfig(config);
|
| // Bring down the network interface to trigger candidate removals.
|
| RemoveInterface(rtc::SocketAddress(kClientAddrHost1, kClientAddrPort));
|
| // Verify that all local candidates are removed.
|
|
|