| Index: net/spdy/bidirectional_stream_spdy_impl.cc
|
| diff --git a/net/spdy/bidirectional_stream_spdy_impl.cc b/net/spdy/bidirectional_stream_spdy_impl.cc
|
| index 6a394c2ff612d6af1dfc82e3d2abcd4400d5534b..a4391d679df43a2e3b496b3d8f3026cc249a5306 100644
|
| --- a/net/spdy/bidirectional_stream_spdy_impl.cc
|
| +++ b/net/spdy/bidirectional_stream_spdy_impl.cc
|
| @@ -187,7 +187,7 @@ int64_t BidirectionalStreamSpdyImpl::GetTotalSentBytes() const {
|
| void BidirectionalStreamSpdyImpl::OnRequestHeadersSent() {
|
| DCHECK(stream_);
|
|
|
| - negotiated_protocol_ = stream_->GetProtocol();
|
| + negotiated_protocol_ = kProtoHTTP2;
|
| if (delegate_)
|
| delegate_->OnStreamReady(/*request_headers_sent=*/true);
|
| }
|
| @@ -267,8 +267,7 @@ int BidirectionalStreamSpdyImpl::SendRequestHeadersHelper() {
|
| http_request_info.extra_headers = request_info_->extra_headers;
|
|
|
| CreateSpdyHeadersFromHttpRequest(
|
| - http_request_info, http_request_info.extra_headers,
|
| - stream_->GetProtocolVersion(), true, headers.get());
|
| + http_request_info, http_request_info.extra_headers, true, headers.get());
|
| return stream_->SendRequestHeaders(std::move(headers),
|
| request_info_->end_stream_on_headers
|
| ? NO_MORE_DATA_TO_SEND
|
|
|