Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Unified Diff: net/quic/core/quic_unacked_packet_map_test.cc

Issue 2417183003: Remove stl_util's deletion functions from remaining quic code. (Closed)
Patch Set: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/quic/core/quic_sent_packet_manager_test.cc ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_unacked_packet_map_test.cc
diff --git a/net/quic/core/quic_unacked_packet_map_test.cc b/net/quic/core/quic_unacked_packet_map_test.cc
index c841806769234dda6b73a52ca5cc7254bf7b2864..2198606af4117bb2dc80ac9cf55ed0ea5fbbbf8c 100644
--- a/net/quic/core/quic_unacked_packet_map_test.cc
+++ b/net/quic/core/quic_unacked_packet_map_test.cc
@@ -4,7 +4,6 @@
#include "net/quic/core/quic_unacked_packet_map.h"
-#include "base/stl_util.h"
#include "net/quic/core/quic_flags.h"
#include "net/quic/core/quic_utils.h"
#include "net/quic/test_tools/quic_test_utils.h"
@@ -26,7 +25,7 @@ class QuicUnackedPacketMapTest : public ::testing::Test {
: unacked_packets_(),
now_(QuicTime::Zero() + QuicTime::Delta::FromMilliseconds(1000)) {}
- ~QuicUnackedPacketMapTest() override { base::STLDeleteElements(&packets_); }
+ ~QuicUnackedPacketMapTest() override {}
SerializedPacket CreateRetransmittablePacket(QuicPacketNumber packet_number) {
return CreateRetransmittablePacketForStream(packet_number,
@@ -109,7 +108,6 @@ class QuicUnackedPacketMapTest : public ::testing::Test {
<< " packets[" << i << "]:" << packets[i];
}
}
- vector<QuicEncryptedPacket*> packets_;
QuicUnackedPacketMap unacked_packets_;
QuicTime now_;
};
« no previous file with comments | « net/quic/core/quic_sent_packet_manager_test.cc ('k') | net/quic/test_tools/quic_stream_factory_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698