Index: net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc |
diff --git a/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc b/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc |
index 89b2d07d8659e88f49bdf9e78bfc1bc490eb9867..2ea276e2b95bf7ef6f98571e9631972eb733499d 100644 |
--- a/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc |
+++ b/net/quic/chromium/bidirectional_stream_quic_impl_unittest.cc |
@@ -179,9 +179,7 @@ class TestDelegateBase : public BidirectionalStreamImpl::Delegate { |
void SendData(const scoped_refptr<IOBuffer>& data, |
int length, |
bool end_of_stream) { |
- not_expect_callback_ = true; |
- stream_->SendData(data, length, end_of_stream); |
- not_expect_callback_ = false; |
+ SendvData({data}, {length}, end_of_stream); |
} |
void SendvData(const std::vector<scoped_refptr<IOBuffer>>& data, |