Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Unified Diff: webrtc/pc/channel_unittest.cc

Issue 2651883010: Adding C++ versions of currently spec'd "RtpParameters" structs. (Closed)
Patch Set: Fixing typo in test. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/pc/channel_unittest.cc
diff --git a/webrtc/pc/channel_unittest.cc b/webrtc/pc/channel_unittest.cc
index 57e7afb17946c6077a01c10ee72171f4783e3b82..fb94980c16489fc9cdc36223d2328d22cacdaaa2 100644
--- a/webrtc/pc/channel_unittest.cc
+++ b/webrtc/pc/channel_unittest.cc
@@ -1959,7 +1959,7 @@ class ChannelTest : public testing::Test, public sigslot::has_slots<> {
webrtc::RtpParameters BitrateLimitedParameters(int limit) {
webrtc::RtpParameters parameters;
webrtc::RtpEncodingParameters encoding;
- encoding.max_bitrate_bps = limit;
+ encoding.max_bitrate_bps = rtc::Optional<int>(limit);
parameters.encodings.push_back(encoding);
return parameters;
}

Powered by Google App Engine
This is Rietveld 408576698