Index: webrtc/media/base/rtpdataengine_unittest.cc |
diff --git a/webrtc/media/base/rtpdataengine_unittest.cc b/webrtc/media/base/rtpdataengine_unittest.cc |
index b5cfd3255189e6444788247030fe4aefae4bd280..5df242828488f985e36c2872a32d7631802873bf 100644 |
--- a/webrtc/media/base/rtpdataengine_unittest.cc |
+++ b/webrtc/media/base/rtpdataengine_unittest.cc |
@@ -378,7 +378,7 @@ TEST_F(RtpDataMediaChannelTest, SendDataRate) { |
// With rtp overhead of 32 bytes, each one of our packets is 36 |
// bytes, or 288 bits. So, a limit of 872bps will allow 3 packets, |
// but not four. |
- parameters.max_bandwidth_bps = 872; |
+ parameters.max_bitrate_bps = rtc::Optional<int>(872); |
ASSERT_TRUE(dmc->SetSendParameters(parameters)); |
EXPECT_TRUE(dmc->SendData(params, payload, &result)); |