Index: remoting/host/url_fetcher.cc |
diff --git a/remoting/host/url_fetcher.cc b/remoting/host/url_fetcher.cc |
index 606d1f9167d158409587fae09681b6762bb179cd..522f12f95f3512593d2876cbab0548bf74b6741e 100644 |
--- a/remoting/host/url_fetcher.cc |
+++ b/remoting/host/url_fetcher.cc |
@@ -143,8 +143,10 @@ void UrlFetcher::Core::OnReadCompleted(net::URLRequest* request, |
void UrlFetcher::Core::DoStart() { |
DCHECK(io_message_loop_->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: |