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 84bd88862256972d7c3795596c2ca04737cadaf6..c0cd03c3ac356acfdb4321545172756cc2537a8e 100644 |
--- a/webrtc/video/end_to_end_tests.cc |
+++ b/webrtc/video/end_to_end_tests.cc |
@@ -373,7 +373,6 @@ TEST_F(EndToEndTest, ReceivesAndRetransmitsNack) { |
public: |
NackObserver() |
: EndToEndTest(kLongTimeoutMs), |
- rtp_parser_(RtpHeaderParser::Create()), |
sent_rtp_packets_(0), |
packets_left_to_drop_(0), |
nacks_left_(kNumberOfNacksToObserve) {} |
@@ -382,7 +381,7 @@ TEST_F(EndToEndTest, ReceivesAndRetransmitsNack) { |
Action OnSendRtp(const uint8_t* packet, size_t length) override { |
rtc::CritScope lock(&crit_); |
RTPHeader header; |
- EXPECT_TRUE(rtp_parser_->Parse(packet, length, &header)); |
+ EXPECT_TRUE(parser_->Parse(packet, length, &header)); |
// Never drop retransmitted packets. |
if (dropped_packets_.find(header.sequenceNumber) != |