Index: webrtc/api/webrtcsession_unittest.cc |
diff --git a/webrtc/api/webrtcsession_unittest.cc b/webrtc/api/webrtcsession_unittest.cc |
index aa1159bdeeead47a26ec54ee1b42718b0e4d463c..fe211a1e6ccdb1023168d5982cefc90c734f5534 100644 |
--- a/webrtc/api/webrtcsession_unittest.cc |
+++ b/webrtc/api/webrtcsession_unittest.cc |
@@ -3644,8 +3644,8 @@ TEST_F(WebRtcSessionTest, TestCryptoAfterSetLocalDescription) { |
SessionDescriptionInterface* jsep_offer_str = |
CreateSessionDescription(JsepSessionDescription::kOffer, offer_str, NULL); |
SetLocalDescriptionWithoutError(jsep_offer_str); |
- EXPECT_TRUE(session_->voice_channel()->secure_required()); |
- EXPECT_TRUE(session_->video_channel()->secure_required()); |
+ EXPECT_TRUE(session_->voice_channel()->srtp_required()); |
+ EXPECT_TRUE(session_->video_channel()->srtp_required()); |
} |
// This test verifies the crypto parameter when security is disabled. |
@@ -3663,8 +3663,8 @@ TEST_F(WebRtcSessionTest, TestCryptoAfterSetLocalDescriptionWithDisabled) { |
SessionDescriptionInterface* jsep_offer_str = |
CreateSessionDescription(JsepSessionDescription::kOffer, offer_str, NULL); |
SetLocalDescriptionWithoutError(jsep_offer_str); |
- EXPECT_FALSE(session_->voice_channel()->secure_required()); |
- EXPECT_FALSE(session_->video_channel()->secure_required()); |
+ EXPECT_FALSE(session_->voice_channel()->srtp_required()); |
+ EXPECT_FALSE(session_->video_channel()->srtp_required()); |
} |
// This test verifies that an answer contains new ufrag and password if an offer |