| Index: webrtc/video/send_statistics_proxy_unittest.cc
|
| diff --git a/webrtc/video/send_statistics_proxy_unittest.cc b/webrtc/video/send_statistics_proxy_unittest.cc
|
| index f88d026516ca201ae0303d75dfebdf0c7a9f1051..e09198557c77529f850afeb75d9acde82f486ebf 100644
|
| --- a/webrtc/video/send_statistics_proxy_unittest.cc
|
| +++ b/webrtc/video/send_statistics_proxy_unittest.cc
|
| @@ -623,22 +623,10 @@ TEST_F(SendStatisticsProxyTest, GetStatsReportsBandwidthLimitedResolution) {
|
| EXPECT_FALSE(statistics_proxy_->GetStats().bw_limited_resolution);
|
| // Resolution not scaled.
|
| encoded_image.adapt_reason_.bw_resolutions_disabled = 0;
|
| - encoded_image.adapt_reason_.quality_resolution_downscales = 0;
|
| statistics_proxy_->OnSendEncodedImage(encoded_image, nullptr);
|
| EXPECT_FALSE(statistics_proxy_->GetStats().bw_limited_resolution);
|
| // Resolution scaled due to bandwidth.
|
| encoded_image.adapt_reason_.bw_resolutions_disabled = 1;
|
| - encoded_image.adapt_reason_.quality_resolution_downscales = 0;
|
| - statistics_proxy_->OnSendEncodedImage(encoded_image, nullptr);
|
| - EXPECT_TRUE(statistics_proxy_->GetStats().bw_limited_resolution);
|
| - // Resolution not scaled.
|
| - encoded_image.adapt_reason_.bw_resolutions_disabled = 0;
|
| - encoded_image.adapt_reason_.quality_resolution_downscales = 0;
|
| - statistics_proxy_->OnSendEncodedImage(encoded_image, nullptr);
|
| - EXPECT_FALSE(statistics_proxy_->GetStats().bw_limited_resolution);
|
| - // Resolution scaled due to quality.
|
| - encoded_image.adapt_reason_.bw_resolutions_disabled = 0;
|
| - encoded_image.adapt_reason_.quality_resolution_downscales = 1;
|
| statistics_proxy_->OnSendEncodedImage(encoded_image, nullptr);
|
| EXPECT_TRUE(statistics_proxy_->GetStats().bw_limited_resolution);
|
| }
|
|
|