Remove DCHECK from Call's ctor that could never fail
I don't think this line could never conceivably fail - if the ctor has reached that point, the object fit in memory, and its members have all been allocated legal memory addresses, none of which may be 0x00. BUG=None Review-Url: https://codereview.webrtc.org/2989813002 Cr-Commit-Position: refs/heads/master@{#19176}
This commit is contained in:
parent
4cd599f025
commit
eaec118240
@ -417,7 +417,6 @@ Call::Call(const Call::Config& config,
|
||||
start_ms_(clock_->TimeInMilliseconds()),
|
||||
worker_queue_("call_worker_queue"),
|
||||
base_bitrate_config_(config.bitrate_config) {
|
||||
RTC_DCHECK(&configuration_thread_checker_);
|
||||
RTC_DCHECK(config.event_log != nullptr);
|
||||
RTC_DCHECK_GE(config.bitrate_config.min_bitrate_bps, 0);
|
||||
RTC_DCHECK_GE(config.bitrate_config.start_bitrate_bps,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user