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

Unified Diff: remoting/host/url_fetcher.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: remoting/host/url_fetcher.cc
diff --git a/remoting/host/url_fetcher.cc b/remoting/host/url_fetcher.cc
index 91b23b3ef05e0fb524c313099680a87a73816208..d03b79acbad0b8131c22e64ea4c7e068f2683576 100644
--- a/remoting/host/url_fetcher.cc
+++ b/remoting/host/url_fetcher.cc
@@ -143,8 +143,8 @@ void UrlFetcher::Core::OnReadCompleted(net::URLRequest* request,
void UrlFetcher::Core::DoStart() {
DCHECK(network_task_runner_->BelongsToCurrentThread());
- request_.reset(new net::URLRequest(url_, this));
- request_->set_context(request_context_getter_->GetURLRequestContext());
+ request_.reset(new net::URLRequest(
+ url_, this, request_context_getter_->GetURLRequestContext()));
switch (method_) {
case GET:

Powered by Google App Engine
This is Rietveld 408576698