diff --git a/test/scenario/network/BUILD.gn b/test/scenario/network/BUILD.gn index 7b03a9b51f..7ce21432a2 100644 --- a/test/scenario/network/BUILD.gn +++ b/test/scenario/network/BUILD.gn @@ -34,8 +34,8 @@ rtc_source_set("emulated_network") { "../../../api/units:timestamp", "../../../rtc_base:rtc_base", "../../../rtc_base:rtc_base_tests_utils", - "../../../rtc_base:rtc_task_queue", "../../../rtc_base:safe_minmax", + "../../../rtc_base:task_queue_for_test", "../../../rtc_base/task_utils:repeating_task", "../../../rtc_base/third_party/sigslot:sigslot", "../../../system_wrappers:system_wrappers", diff --git a/test/scenario/network/network_emulation_manager.h b/test/scenario/network/network_emulation_manager.h index 8290ec30f1..37f52f3dac 100644 --- a/test/scenario/network/network_emulation_manager.h +++ b/test/scenario/network/network_emulation_manager.h @@ -21,7 +21,7 @@ #include "api/units/timestamp.h" #include "rtc_base/logging.h" #include "rtc_base/network.h" -#include "rtc_base/task_queue.h" +#include "rtc_base/task_queue_for_test.h" #include "rtc_base/task_utils/repeating_task.h" #include "rtc_base/thread.h" #include "system_wrappers/include/clock.h" @@ -90,7 +90,7 @@ class NetworkEmulationManagerImpl : public NetworkEmulationManager { // Must be the last field, so it will be deleted first, because tasks // in the TaskQueue can access other fields of the instance of this class. - rtc::TaskQueue task_queue_; + TaskQueueForTest task_queue_; }; } // namespace test