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

Unified Diff: net/ocsp/nss_ocsp.cc

Issue 10870060: Removed calls to URLRequest::URLRequest in favor of URLRequestContext::CreateRequest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged Created 8 years, 4 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 273e341bdfa1703aca1feb3fb4405ee7b7a076b0..de97ec430fe6dcd636418bd2eddd734bd0366385 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -367,7 +367,7 @@ class OCSPRequestSession
g_ocsp_io_loop.Get().AddRequest(this);
}
- request_ = new net::URLRequest(url_, this, url_request_context);
+ request_ = url_request_context->CreateRequest(url_, this);
// To meet the privacy requirements of incognito mode.
request_->set_load_flags(
net::LOAD_DISABLE_CACHE | net::LOAD_DO_NOT_SAVE_COOKIES |
« no previous file with comments | « content/browser/renderer_host/resource_dispatcher_host_impl.cc ('k') | webkit/appcache/appcache_update_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698