diff options
Diffstat (limited to 'third_party/libwebrtc/test/time_controller/real_time_controller.cc')
-rw-r--r-- | third_party/libwebrtc/test/time_controller/real_time_controller.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/third_party/libwebrtc/test/time_controller/real_time_controller.cc b/third_party/libwebrtc/test/time_controller/real_time_controller.cc index 7cc750d6d4..537532d20f 100644 --- a/third_party/libwebrtc/test/time_controller/real_time_controller.cc +++ b/third_party/libwebrtc/test/time_controller/real_time_controller.cc @@ -9,6 +9,7 @@ */ #include "test/time_controller/real_time_controller.h" +#include "api/field_trials_view.h" #include "api/task_queue/default_task_queue_factory.h" #include "rtc_base/null_socket_server.h" @@ -30,8 +31,8 @@ class MainThread : public rtc::Thread { CurrentThreadSetter current_setter_; }; } // namespace -RealTimeController::RealTimeController() - : task_queue_factory_(CreateDefaultTaskQueueFactory()), +RealTimeController::RealTimeController(const FieldTrialsView* field_trials) + : task_queue_factory_(CreateDefaultTaskQueueFactory(field_trials)), main_thread_(std::make_unique<MainThread>()) { main_thread_->SetName("Main", this); } |