Simplify an always true condition.

Also deletes one call to CongestionController::pacer.

BUG=None

Review-Url: https://codereview.webrtc.org/2542113003
Cr-Commit-Position: refs/heads/master@{#15479}
This commit is contained in:
nisse
2016-12-08 06:24:28 -08:00
committed by Commit bot
parent d0035575aa
commit 10daf861b9
2 changed files with 3 additions and 1 deletions

View File

@ -93,6 +93,8 @@ class CongestionController : public CallStatsObserver, public Module {
virtual RemoteBitrateEstimator* GetRemoteBitrateEstimator(
bool send_side_bwe);
virtual int64_t GetPacerQueuingDelayMs() const;
// TODO(nisse): Delete this accessor function. The pacer should be
// internal to the congestion controller.
virtual PacedSender* pacer() { return pacer_.get(); }
// TODO(nisse): Deprecated, but still used by downstream projects.
virtual PacketRouter* packet_router() { return packet_router_; }