Index: webrtc/media/base/videoengine_unittest.h |
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h |
index 01a4f76ca766183ba12564515ae661009998b535..77714d4da7735876a27a582836a154ccf6915be7 100644 |
--- a/webrtc/media/base/videoengine_unittest.h |
+++ b/webrtc/media/base/videoengine_unittest.h |
@@ -610,9 +610,9 @@ class VideoMediaChannelTest : public testing::Test, |
void SetSendBandwidth() { |
cricket::VideoSendParameters parameters; |
parameters.codecs.push_back(DefaultCodec()); |
- parameters.max_bandwidth_bps = -1; // <= 0 means unlimited. |
+ parameters.max_bitrate_bps = rtc::Optional<int>(); // unlimited. |
EXPECT_TRUE(channel_->SetSendParameters(parameters)); |
- parameters.max_bandwidth_bps = 128 * 1024; |
+ parameters.max_bitrate_bps = rtc::Optional<int>(128 * 1024); |
EXPECT_TRUE(channel_->SetSendParameters(parameters)); |
} |
// Test that we can set the SSRC for the default send source. |