Index: net/url_request/url_request_context.cc |
diff --git a/net/url_request/url_request_context.cc b/net/url_request/url_request_context.cc |
index 5a9cf99c1cc8a98602847d6d05880b9f12de80ca..eb6a35c6d790e3e3ce5e001ed825c52834fd640b 100644 |
--- a/net/url_request/url_request_context.cc |
+++ b/net/url_request/url_request_context.cc |
@@ -79,11 +79,9 @@ const HttpNetworkSession::Params* URLRequestContext::GetNetworkSessionParams( |
scoped_ptr<URLRequest> URLRequestContext::CreateRequest( |
const GURL& url, |
RequestPriority priority, |
- URLRequest::Delegate* delegate, |
- CookieStore* cookie_store) const { |
- return scoped_ptr<URLRequest>( |
- new URLRequest(url, priority, delegate, this, cookie_store, |
- network_delegate_)); |
+ URLRequest::Delegate* delegate) const { |
+ return make_scoped_ptr( |
+ new URLRequest(url, priority, delegate, this, network_delegate_)); |
} |
void URLRequestContext::set_cookie_store(CookieStore* cookie_store) { |