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

Unified Diff: net/ocsp/nss_ocsp.cc

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Converted new unittest. 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/ocsp/nss_ocsp.cc
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index 80f9db0e706331255d3c62f79f9c4d83f597707d..23c00d068bd919f678d660022ea833a5f09ef0d3 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -366,8 +366,7 @@ class OCSPRequestSession
g_ocsp_io_loop.Get().AddRequest(this);
}
- request_ = new net::URLRequest(url_, this);
- request_->set_context(url_request_context);
+ request_ = new net::URLRequest(url_, this, url_request_context);
// To meet the privacy requirements of incognito mode.
request_->set_load_flags(
net::LOAD_DISABLE_CACHE | net::LOAD_DO_NOT_SAVE_COOKIES |

Powered by Google App Engine
This is Rietveld 408576698