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

Unified Diff: components/search_engines/template_url_fetcher.cc

Issue 2305813002: Remove ScopedVector from importer. (Closed)
Patch Set: pkasting Created 4 years, 3 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: 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 bd7d7b618c1466cf6844ab4d07a1712fc499d7d3..3b38e8808f809deeb8a11932365451838a3d5a5d 100644
--- a/components/search_engines/template_url_fetcher.cc
+++ b/components/search_engines/template_url_fetcher.cc
@@ -111,9 +111,9 @@ void TemplateURLFetcher::RequestDelegate::OnURLFetchComplete(
return;
}
- template_url_.reset(TemplateURLParser::Parse(
- fetcher_->template_url_service_->search_terms_data(), false,
- data.data(), data.length(), NULL));
+ template_url_ = TemplateURLParser::Parse(
+ fetcher_->template_url_service_->search_terms_data(), false, data.data(),
+ data.length(), nullptr);
if (!template_url_.get() ||
!template_url_->url_ref().SupportsReplacement(
fetcher_->template_url_service_->search_terms_data())) {
« no previous file with comments | « chrome/browser/search_engines/template_url_parser_unittest.cc ('k') | components/search_engines/template_url_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698