Index: webrtc/modules/pacing/paced_sender_unittest.cc |
diff --git a/webrtc/modules/pacing/paced_sender_unittest.cc b/webrtc/modules/pacing/paced_sender_unittest.cc |
index 0730062088897a543d60682a141d0c14c5b32d2b..a00b5fa58deb0bd79db174b4748457b0ff33dc8f 100644 |
--- a/webrtc/modules/pacing/paced_sender_unittest.cc |
+++ b/webrtc/modules/pacing/paced_sender_unittest.cc |
@@ -743,22 +743,6 @@ TEST_F(PacedSenderTest, ProbingWithInitialFrame) { |
} |
} |
-class ProbingPacedSender : public PacedSender { |
- public: |
- ProbingPacedSender(Clock* clock, |
- Callback* callback, |
- int bitrate_kbps, |
- int max_bitrate_kbps, |
- int min_bitrate_kbps) |
- : PacedSender(clock, |
- callback, |
- bitrate_kbps, |
- max_bitrate_kbps, |
- min_bitrate_kbps) {} |
- |
- bool ProbingExperimentIsEnabled() const override { return true; } |
-}; |
- |
TEST_F(PacedSenderTest, ProbingWithTooSmallInitialFrame) { |
const int kNumPackets = 11; |
const int kNumDeltas = kNumPackets - 1; |
@@ -770,9 +754,8 @@ TEST_F(PacedSenderTest, ProbingWithTooSmallInitialFrame) { |
std::list<int> expected_deltas_list(expected_deltas, |
expected_deltas + kNumPackets - 1); |
PacedSenderProbing callback(expected_deltas_list, &clock_); |
- send_bucket_.reset( |
- new ProbingPacedSender(&clock_, &callback, kInitialBitrateKbps, |
- kPaceMultiplier * kInitialBitrateKbps, 0)); |
+ send_bucket_.reset(new PacedSender(&clock_, &callback, kInitialBitrateKbps, |
+ kPaceMultiplier * kInitialBitrateKbps, 0)); |
for (int i = 0; i < kNumPackets - 5; ++i) { |
EXPECT_FALSE(send_bucket_->SendPacket( |