Index: webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
index df0b470116b72f414a6bc3be1a7e4df86caf008d..d8c74cd3ca60ac602ef5e77644d81c5664a474b5 100644 |
--- a/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/bitrate_controller.cc |
@@ -51,8 +51,8 @@ void BitrateController::MakeDecision( |
// Current implementation of BitrateController can only work when |
// |metrics.target_audio_bitrate_bps| includes overhead is enabled. This is |
// currently governed by the following field trial. |
- RTC_DCHECK_EQ("Enabled", webrtc::field_trial::FindFullName( |
- "WebRTC-SendSideBwe-WithOverhead")); |
+ RTC_DCHECK( |
+ webrtc::field_trial::IsEnabled("WebRTC-SendSideBwe-WithOverhead")); |
if (config->frame_length_ms) |
frame_length_ms_ = *config->frame_length_ms; |
int overhead_rate_bps = |