summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/call/bitrate_estimator_tests.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/call/bitrate_estimator_tests.cc')
-rw-r--r--third_party/libwebrtc/call/bitrate_estimator_tests.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/libwebrtc/call/bitrate_estimator_tests.cc b/third_party/libwebrtc/call/bitrate_estimator_tests.cc
index f17a037ed2..d945dfccca 100644
--- a/third_party/libwebrtc/call/bitrate_estimator_tests.cc
+++ b/third_party/libwebrtc/call/bitrate_estimator_tests.cc
@@ -178,13 +178,13 @@ class BitrateEstimatorTest : public test::CallTest {
RTC_DCHECK_EQ(1, test_->GetVideoEncoderConfig()->number_of_streams);
frame_generator_capturer_ =
std::make_unique<test::FrameGeneratorCapturer>(
- test->clock_,
+ &test->env().clock(),
test::CreateSquareFrameGenerator(
test::VideoTestConstants::kDefaultWidth,
test::VideoTestConstants::kDefaultHeight, absl::nullopt,
absl::nullopt),
test::VideoTestConstants::kDefaultFramerate,
- *test->task_queue_factory_);
+ test->env().task_queue_factory());
frame_generator_capturer_->Init();
frame_generator_capturer_->Start();
send_stream_->SetSource(frame_generator_capturer_.get(),