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

Unified Diff: chrome/browser/ui/app_list/search/common/url_icon_source.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
Index: chrome/browser/ui/app_list/search/common/url_icon_source.cc
diff --git a/chrome/browser/ui/app_list/search/common/url_icon_source.cc b/chrome/browser/ui/app_list/search/common/url_icon_source.cc
index daa404614f2d7419da114393923d05a84cd45def..0687f8886cad524300403baa98bbc3d9c885bd1e 100644
--- a/chrome/browser/ui/app_list/search/common/url_icon_source.cc
+++ b/chrome/browser/ui/app_list/search/common/url_icon_source.cc
@@ -37,8 +37,8 @@ UrlIconSource::~UrlIconSource() {
void UrlIconSource::StartIconFetch() {
icon_fetch_attempted_ = true;
- icon_fetcher_.reset(
- net::URLFetcher::Create(icon_url_, net::URLFetcher::GET, this));
+ icon_fetcher_ =
+ net::URLFetcher::Create(icon_url_, net::URLFetcher::GET, this);
icon_fetcher_->SetRequestContext(context_getter_);
icon_fetcher_->SetLoadFlags(net::LOAD_DO_NOT_SAVE_COOKIES);
icon_fetcher_->Start();
« no previous file with comments | « chrome/browser/ui/app_list/search/common/json_response_fetcher.cc ('k') | chrome/browser/ui/app_list/start_page_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698