Index: remoting/host/url_fetcher.cc |
diff --git a/remoting/host/url_fetcher.cc b/remoting/host/url_fetcher.cc |
index 91b23b3ef05e0fb524c313099680a87a73816208..d5dc29c6b54180157e4212bfd39fde5b6904e5fa 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(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())); |
Sergey Ulanov
2012/06/20 00:51:51
all arguments can fit on one line. This should be
shalev
2012/06/20 20:13:12
Done.
|
switch (method_) { |
case GET: |