Index: net/quic/quic_stream_sequencer_test.cc |
diff --git a/net/quic/quic_stream_sequencer_test.cc b/net/quic/quic_stream_sequencer_test.cc |
index 39cea5811402fdfc154df07c810dc8a73ffcb121..c5ddb7bc4bbc848538984813f44aa5bea593bc0c 100644 |
--- a/net/quic/quic_stream_sequencer_test.cc |
+++ b/net/quic/quic_stream_sequencer_test.cc |
@@ -69,23 +69,6 @@ class QuicStreamSequencerTest : public ::testing::Test { |
QuicStreamSequencerPeer::GetBufferedFrames(sequencer_.get())) { |
} |
- bool VerifyIovecs(iovec* iovecs, |
- size_t num_iovecs, |
- const char** expected, |
- size_t num_expected) { |
- if (num_expected != num_iovecs) { |
- LOG(ERROR) << "Incorrect number of iovecs. Expected: " |
- << num_expected << " Actual: " << num_iovecs; |
- return false; |
- } |
- for (size_t i = 0; i < num_expected; ++i) { |
- if (!VerifyIovec(iovecs[i], expected[i])) { |
- return false; |
- } |
- } |
- return true; |
- } |
- |
bool VerifyIovec(const iovec& iovec, StringPiece expected) { |
if (iovec.iov_len != expected.length()) { |
LOG(ERROR) << "Invalid length: " << iovec.iov_len |