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

Unified Diff: chrome/browser/net/connection_tester.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: chrome/browser/net/connection_tester.cc
diff --git a/chrome/browser/net/connection_tester.cc b/chrome/browser/net/connection_tester.cc
index 2303acae4903f00aacfec5561d7c6d385a742c7f..5cfef66ae15c1fa387f4cc8a8d9e0d1377397fd6 100644
--- a/chrome/browser/net/connection_tester.cc
+++ b/chrome/browser/net/connection_tester.cc
@@ -401,9 +401,7 @@ void ConnectionTester::TestRunner::ProxyConfigServiceCreated(
return;
}
// Fetch a request using the experimental context.
- request_.reset(new net::URLRequest(experiment.url,
- this,
- request_context_.get()));
+ request_.reset(request_context_->CreateRequest(experiment.url, this));
request_->Start();
}

Powered by Google App Engine
This is Rietveld 408576698