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

Unified Diff: webrtc/base/rate_limiter.cc

Issue 2735423002: Mark |Clock*| as |const Clock*| (for some CongestionController and BWE related modules) (Closed)
Patch Set: Rebased Created 3 years, 9 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
« no previous file with comments | « webrtc/base/rate_limiter.h ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/rate_limiter.cc
diff --git a/webrtc/base/rate_limiter.cc b/webrtc/base/rate_limiter.cc
index 89bdb94e08bc3136853b544b60a0c866f30ed2a3..9215fa0c7fe456fda20ace948d0010a3cca9de63 100644
--- a/webrtc/base/rate_limiter.cc
+++ b/webrtc/base/rate_limiter.cc
@@ -13,7 +13,7 @@
namespace webrtc {
-RateLimiter::RateLimiter(Clock* clock, int64_t max_window_ms)
+RateLimiter::RateLimiter(const Clock* clock, int64_t max_window_ms)
: clock_(clock),
current_rate_(max_window_ms, RateStatistics::kBpsScale),
window_size_ms_(max_window_ms),
« no previous file with comments | « webrtc/base/rate_limiter.h ('k') | webrtc/modules/bitrate_controller/bitrate_controller_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698