Use deprecated SingleThreadedTaskQueueForTesting as regular task queue
Bug: webrtc:10933
Change-Id: I749ecd9cedb6798f1640ce663c6ebb6679889b67
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/157883
Reviewed-by: Karl Wiberg <kwiberg@webrtc.org>
Commit-Queue: Danil Chapovalov <danilchap@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29565}
diff --git a/call/call_perf_tests.cc b/call/call_perf_tests.cc
index f6d6f78..34a1045 100644
--- a/call/call_perf_tests.cc
+++ b/call/call_perf_tests.cc
@@ -44,7 +44,6 @@
#include "test/null_transport.h"
#include "test/rtp_header_parser.h"
#include "test/rtp_rtcp_observer.h"
-#include "test/single_threaded_task_queue.h"
#include "test/testsupport/file_utils.h"
#include "test/testsupport/perf_test.h"
#include "test/video_encoder_proxy_factory.h"
@@ -862,14 +861,13 @@
class MinVideoAndAudioBitrateTester : public test::EndToEndTest {
public:
- MinVideoAndAudioBitrateTester(
- int test_bitrate_from,
- int test_bitrate_to,
- int test_bitrate_step,
- int min_bwe,
- int start_bwe,
- int max_bwe,
- test::DEPRECATED_SingleThreadedTaskQueueForTesting* task_queue)
+ MinVideoAndAudioBitrateTester(int test_bitrate_from,
+ int test_bitrate_to,
+ int test_bitrate_step,
+ int min_bwe,
+ int start_bwe,
+ int max_bwe,
+ TaskQueueBase* task_queue)
: EndToEndTest(),
test_bitrate_from_(test_bitrate_from),
test_bitrate_to_(test_bitrate_to),
@@ -984,7 +982,7 @@
SimulatedNetwork* send_simulated_network_;
SimulatedNetwork* receive_simulated_network_;
Call* sender_call_;
- test::DEPRECATED_SingleThreadedTaskQueueForTesting* const task_queue_;
+ TaskQueueBase* const task_queue_;
} test(test_bitrate_from, test_bitrate_to, test_bitrate_step, min_bwe,
start_bwe, max_bwe, &task_queue_);