Index: net/http/http_proxy_client_socket.cc |
diff --git a/net/http/http_proxy_client_socket.cc b/net/http/http_proxy_client_socket.cc |
index 8c1548c0cc8d334f2b711f9f609f9717bc671c2e..186b459f991797ac9f8e1d74782193a117d16280 100644 |
--- a/net/http/http_proxy_client_socket.cc |
+++ b/net/http/http_proxy_client_socket.cc |
@@ -343,8 +343,8 @@ int HttpProxyClientSocket::DoSendRequest() { |
if (net_log_.IsLoggingAllEvents()) { |
net_log_.AddEvent( |
NetLog::TYPE_HTTP_TRANSACTION_SEND_TUNNEL_HEADERS, |
- new NetLogHttpRequestParameter( |
- request_line, request_headers)); |
+ make_scoped_refptr(new NetLogHttpRequestParameter( |
+ request_line, request_headers))); |
} |
request_headers_ = request_line + request_headers.ToString(); |
} |
@@ -381,7 +381,7 @@ int HttpProxyClientSocket::DoReadHeadersComplete(int result) { |
if (net_log_.IsLoggingAllEvents()) { |
net_log_.AddEvent( |
NetLog::TYPE_HTTP_TRANSACTION_READ_TUNNEL_RESPONSE_HEADERS, |
- new NetLogHttpResponseParameter(response_.headers)); |
+ make_scoped_refptr(new NetLogHttpResponseParameter(response_.headers))); |
} |
switch (response_.headers->response_code()) { |