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

Unified Diff: ios/web/webui/url_fetcher_block_adapter.mm

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 | « ios/chrome/browser/updatable_config/updatable_config_base.mm ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/webui/url_fetcher_block_adapter.mm
diff --git a/ios/web/webui/url_fetcher_block_adapter.mm b/ios/web/webui/url_fetcher_block_adapter.mm
index 373235fe3718ca1cca0b5ede5bf2375b4ac9c353..deb6178aa06e3cf5bb64f623e10e3f49447f37dd 100644
--- a/ios/web/webui/url_fetcher_block_adapter.mm
+++ b/ios/web/webui/url_fetcher_block_adapter.mm
@@ -23,7 +23,7 @@ URLFetcherBlockAdapter::~URLFetcherBlockAdapter() {
}
void URLFetcherBlockAdapter::Start() {
- fetcher_.reset(net::URLFetcher::Create(url_, net::URLFetcher::GET, this));
+ fetcher_ = net::URLFetcher::Create(url_, net::URLFetcher::GET, this);
fetcher_->SetRequestContext(request_context_);
fetcher_->Start();
}
« no previous file with comments | « ios/chrome/browser/updatable_config/updatable_config_base.mm ('k') | net/server/http_server_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698