Index: webrtc/video/end_to_end_tests.cc |
diff --git a/webrtc/video/end_to_end_tests.cc b/webrtc/video/end_to_end_tests.cc |
index 6de9e483d861bb0bd351d7f7fa108730d76d3c2d..20e2919a1f1b4a5c714b0bdbe02d82d2c7c051cc 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -2106,12 +2106,6 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, |
if (MinMetricRunTimePassed()) |
observation_complete_.Set(); |
- // GetStats calls GetSendChannelRtcpStatistics |
- // (via VideoSendStream::GetRtt) which updates ReportBlockStats used by |
- // WebRTC.Video.SentPacketsLostInPercent. |
- // TODO(asapersson): Remove dependency on calling GetStats. |
- sender_call_->GetStats(); |
- |
return SEND_PACKET; |
} |
@@ -2212,8 +2206,8 @@ void EndToEndTest::VerifyHistogramStats(bool use_rtx, |
EXPECT_EQ(1, test::NumHistogramSamples( |
"WebRTC.Video.KeyFramesReceivedInPermille")); |
- EXPECT_EQ(1, test::NumHistogramSamples( |
- "WebRTC.Video.SentPacketsLostInPercent")); |
+ EXPECT_EQ( |
+ 1, test::NumHistogramSamples(video_prefix + "SentPacketsLostInPercent")); |
EXPECT_EQ(1, test::NumHistogramSamples( |
"WebRTC.Video.ReceivedPacketsLostInPercent")); |