From 3ee73a59adf883bec3bb946c39b7d8e44154f8e9 Mon Sep 17 00:00:00 2001 From: Stefan Holmer Date: Thu, 18 Feb 2016 11:42:30 +0100 Subject: [PATCH] Make RemoteBitrateEstimator::GetStats() virtual. Should have been added in https://chromium.googlesource.com/external/webrtc/+/59c634b605a906d292179bc5568469c030b9e9d0. R=kjellander@webrtc.org Review URL: https://codereview.webrtc.org/1713463002 . Cr-Commit-Position: refs/heads/master@{#11667} --- .../remote_bitrate_estimator/include/remote_bitrate_estimator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h index 21865308aa..e56c273fc4 100644 --- a/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h +++ b/webrtc/modules/remote_bitrate_estimator/include/remote_bitrate_estimator.h @@ -71,7 +71,7 @@ class RemoteBitrateEstimator : public CallStatsObserver, public Module { uint32_t* bitrate_bps) const = 0; // TODO(holmer): Remove when all implementations have been updated. - bool GetStats(ReceiveBandwidthEstimatorStats* output) const { + virtual bool GetStats(ReceiveBandwidthEstimatorStats* output) const { return false; }