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

Unified Diff: components/search_engines/template_url_fetcher.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 | « components/rappor/log_uploader.cc ('k') | components/search_provider_logos/logo_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/search_engines/template_url_fetcher.cc
diff --git a/components/search_engines/template_url_fetcher.cc b/components/search_engines/template_url_fetcher.cc
index 542e475112e58f1e110d86223f5dc620a01ec178..73fbd305fb54679ad77706252372f4e66164c9e7 100644
--- a/components/search_engines/template_url_fetcher.cc
+++ b/components/search_engines/template_url_fetcher.cc
@@ -69,8 +69,8 @@ TemplateURLFetcher::RequestDelegate::RequestDelegate(
const URLFetcherCustomizeCallback& url_fetcher_customize_callback,
const ConfirmAddSearchProviderCallback& confirm_add_callback,
ProviderType provider_type)
- : url_fetcher_(net::URLFetcher::Create(
- osdd_url, net::URLFetcher::GET, this)),
+ : url_fetcher_(
+ net::URLFetcher::Create(osdd_url, net::URLFetcher::GET, this).Pass()),
fetcher_(fetcher),
keyword_(keyword),
osdd_url_(osdd_url),
« no previous file with comments | « components/rappor/log_uploader.cc ('k') | components/search_provider_logos/logo_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698