Index: net/http/bidirectional_stream_unittest.cc |
diff --git a/net/http/bidirectional_stream_unittest.cc b/net/http/bidirectional_stream_unittest.cc |
index 6d62d57b1c451889754dc30296be3eccbf00960a..037a21eafd99339e4828189734848dcbc8e1c049 100644 |
--- a/net/http/bidirectional_stream_unittest.cc |
+++ b/net/http/bidirectional_stream_unittest.cc |
@@ -184,9 +184,7 @@ class TestDelegateBase : public BidirectionalStream::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, |
@@ -769,7 +767,7 @@ TEST_F(BidirectionalStreamTest, TestNetLogContainEntries) { |
entries, index, NetLogEventType::BIDIRECTIONAL_STREAM_RECV_TRAILERS, |
NetLogEventPhase::NONE); |
index = ExpectLogContainsSomewhere( |
- entries, index, NetLogEventType::BIDIRECTIONAL_STREAM_SEND_DATA, |
+ entries, index, NetLogEventType::BIDIRECTIONAL_STREAM_SENDV_DATA, |
NetLogEventPhase::NONE); |
index = ExpectLogContainsSomewhere( |
entries, index, NetLogEventType::BIDIRECTIONAL_STREAM_READ_DATA, |