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

Unified Diff: webrtc/modules/congestion_controller/probe_controller.cc

Issue 2714063002: Introduce dchecked_cast, and start using it (Closed)
Patch Set: Created 3 years, 10 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/modules/congestion_controller/probe_controller.cc
diff --git a/webrtc/modules/congestion_controller/probe_controller.cc b/webrtc/modules/congestion_controller/probe_controller.cc
index 72d0e9ed0dbdb54b0b9698e86dcd5816527f6507..e8b3a2a1cb13b58831075ff7c0e0435eeee35f56 100644
--- a/webrtc/modules/congestion_controller/probe_controller.cc
+++ b/webrtc/modules/congestion_controller/probe_controller.cc
@@ -229,7 +229,7 @@ void ProbeController::InitiateProbing(
bitrate = max_probe_bitrate_bps;
probe_further = false;
}
- pacer_->CreateProbeCluster(rtc::checked_cast<int>(bitrate));
+ pacer_->CreateProbeCluster(rtc::dchecked_cast<int>(bitrate));
}
time_last_probing_initiated_ms_ = now_ms;
if (probe_further) {

Powered by Google App Engine
This is Rietveld 408576698