Delete unused CallStats object in VideoSendStreamImplTest

Bug: None
Change-Id: I5fa66586ee834647e4c99e5f26a2a501d66611cc
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/242362
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#35560}
This commit is contained in:
Niels Möller 2021-12-21 11:58:11 +01:00 committed by WebRTC LUCI CQ
parent cdcad243d5
commit 6e0209a50e

View File

@ -20,7 +20,6 @@
#include "call/test/mock_bitrate_allocator.h"
#include "call/test/mock_rtp_transport_controller_send.h"
#include "modules/rtp_rtcp/source/rtp_sequence_number_map.h"
#include "modules/utility/include/process_thread.h"
#include "modules/video_coding/fec_controller_default.h"
#include "rtc_base/experiments/alr_experiment.h"
#include "rtc_base/fake_clock.h"
@ -29,7 +28,6 @@
#include "test/gmock.h"
#include "test/gtest.h"
#include "test/mock_transport.h"
#include "video/call_stats.h"
#include "video/test/mock_video_stream_encoder.h"
#include "video/video_send_stream.h"
@ -119,8 +117,6 @@ class VideoSendStreamImplTest : public ::testing::Test {
config_(&transport_),
send_delay_stats_(&clock_),
test_queue_("test_queue"),
process_thread_(ProcessThread::Create("test_thread")),
call_stats_(&clock_, process_thread_.get()),
stats_proxy_(&clock_,
config_,
VideoEncoderConfig::ContentType::kRealtimeVideo) {
@ -177,9 +173,6 @@ class VideoSendStreamImplTest : public ::testing::Test {
VideoSendStream::Config config_;
SendDelayStats send_delay_stats_;
TaskQueueForTest test_queue_;
std::unique_ptr<ProcessThread> process_thread_;
// TODO(tommi): Use internal::CallStats
CallStats call_stats_;
SendStatisticsProxy stats_proxy_;
PacketRouter packet_router_;
};