Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(448)

Unified Diff: net/proxy/proxy_script_fetcher_impl.cc

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merged with latest version Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/proxy/proxy_script_fetcher_impl.cc
diff --git a/net/proxy/proxy_script_fetcher_impl.cc b/net/proxy/proxy_script_fetcher_impl.cc
index d69200f91a56577c2f8b7ce9f228224a1d05ca67..45adb6a69ab3eb23d5563fd13f4a8a5884a7f40b 100644
--- a/net/proxy/proxy_script_fetcher_impl.cc
+++ b/net/proxy/proxy_script_fetcher_impl.cc
@@ -134,8 +134,7 @@ int ProxyScriptFetcherImpl::Fetch(
return OK;
}
- cur_request_.reset(new URLRequest(url, this));
- cur_request_->set_context(url_request_context_);
+ cur_request_.reset(new URLRequest(url, this, url_request_context_));
cur_request_->set_method("GET");
// Make sure that the PAC script is downloaded using a direct connection,

Powered by Google App Engine
This is Rietveld 408576698