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

Unified Diff: remoting/host/dns_blackhole_checker.cc

Issue 1117703002: Adjust URLFetcher::Create API so that object is returned as scoped_ptr. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unneeded Pass() calls Created 5 years, 8 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
« no previous file with comments | « net/url_request/url_fetcher_factory.h ('k') | remoting/host/setup/service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/dns_blackhole_checker.cc
diff --git a/remoting/host/dns_blackhole_checker.cc b/remoting/host/dns_blackhole_checker.cc
index b92eb1265bb1f44ac0566835a4b7fee8db44d364..1f71ad5200b1265440409b7cb427f6faa543821b 100644
--- a/remoting/host/dns_blackhole_checker.cc
+++ b/remoting/host/dns_blackhole_checker.cc
@@ -58,8 +58,8 @@ void DnsBlackholeChecker::CheckForDnsBlackhole(
}
talkgadget_url += kTalkGadgetUrl;
HOST_LOG << "Verifying connection to " << talkgadget_url;
- url_fetcher_.reset(net::URLFetcher::Create(GURL(talkgadget_url),
- net::URLFetcher::GET, this));
+ url_fetcher_ = net::URLFetcher::Create(GURL(talkgadget_url),
+ net::URLFetcher::GET, this);
url_fetcher_->SetRequestContext(url_request_context_getter_.get());
url_fetcher_->Start();
} else {
« no previous file with comments | « net/url_request/url_fetcher_factory.h ('k') | remoting/host/setup/service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698