Small TransportFeedbackAdapterTest efficiency boost and TODO resolved

BUG=None

Review-Url: https://codereview.webrtc.org/2726853002
Cr-Commit-Position: refs/heads/master@{#16950}
This commit is contained in:
elad.alon 2017-03-01 09:05:20 -08:00 committed by Commit bot
parent 380119af1e
commit f7c26d40ab

View File

@ -99,10 +99,7 @@ class TransportFeedbackAdapterTest : public ::testing::Test {
}
}
// Utility method, to reset arrival_time_ms before adding send time.
void OnSentPacket(PacketInfo info) {
info.arrival_time_ms = 0;
// TODO(philipel): Change -1, -1 to some values.
void OnSentPacket(const PacketInfo& info) {
adapter_->AddPacket(info.sequence_number, info.payload_size,
info.pacing_info);
adapter_->OnSentPacket(info.sequence_number, info.send_time_ms);