| 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 a4391d679df43a2e3b496b3d8f3026cc249a5306..4f11cdf3e840b27398b5342d034ba40798ff4dcc 100644
|
| --- a/net/spdy/bidirectional_stream_spdy_impl.cc
|
| +++ b/net/spdy/bidirectional_stream_spdy_impl.cc
|
| @@ -260,14 +260,14 @@ void BidirectionalStreamSpdyImpl::OnClose(int status) {
|
| }
|
|
|
| int BidirectionalStreamSpdyImpl::SendRequestHeadersHelper() {
|
| - std::unique_ptr<SpdyHeaderBlock> headers(new SpdyHeaderBlock);
|
| + SpdyHeaderBlock headers;
|
| HttpRequestInfo http_request_info;
|
| http_request_info.url = request_info_->url;
|
| http_request_info.method = request_info_->method;
|
| http_request_info.extra_headers = request_info_->extra_headers;
|
|
|
| CreateSpdyHeadersFromHttpRequest(
|
| - http_request_info, http_request_info.extra_headers, true, headers.get());
|
| + http_request_info, http_request_info.extra_headers, true, &headers);
|
| return stream_->SendRequestHeaders(std::move(headers),
|
| request_info_->end_stream_on_headers
|
| ? NO_MORE_DATA_TO_SEND
|
|
|