Index: net/http/http_stream_parser.cc |
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc |
index 44701996a38c82fc475563e5a69ed45534da8a4f..d3e4abdf69096fd6cbdb2c1e57c76c8694069f31 100644 |
--- a/net/http/http_stream_parser.cc |
+++ b/net/http/http_stream_parser.cc |
@@ -53,7 +53,7 @@ int HttpStreamParser::SendRequest(const std::string& headers, |
DCHECK(response); |
response_ = response; |
- scoped_refptr<StringIOBuffer> headers_io_buf = new StringIOBuffer(headers); |
+ scoped_refptr<StringIOBuffer> headers_io_buf(new StringIOBuffer(headers)); |
request_headers_ = new DrainableIOBuffer(headers_io_buf, |
headers_io_buf->size()); |
request_body_.reset(request_body); |