Index: net/url_request/url_request_http_job.cc |
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc |
index 69312ab0a8eb28a090cdf2aa955abcc83150585a..8c450b5c806e3c7bffaa18353c4626e99bb4a6ee 100644 |
--- a/net/url_request/url_request_http_job.cc |
+++ b/net/url_request/url_request_http_job.cc |
@@ -288,13 +288,15 @@ void URLRequestHttpJob::Kill() { |
} |
void URLRequestHttpJob::NotifyBeforeSendProxyHeadersCallback( |
- const ProxyInfo& proxy_info) { |
+ const ProxyInfo& proxy_info, |
+ HttpRequestHeaders* request_headers) { |
+ DCHECK(request_headers); |
DCHECK_NE(URLRequestStatus::CANCELED, GetStatus().status()); |
if (network_delegate()) { |
network_delegate()->NotifyBeforeSendProxyHeaders( |
request_, |
proxy_info, |
- &request_info_.extra_headers); |
+ request_headers); |
} |
} |