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

Unified Diff: components/omnibox/browser/history_url_provider_unittest.cc

Issue 2290503003: Remove use of stl_util in search_engines. (Closed)
Patch Set: ios for reals Created 4 years, 4 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/omnibox/browser/history_url_provider_unittest.cc
diff --git a/components/omnibox/browser/history_url_provider_unittest.cc b/components/omnibox/browser/history_url_provider_unittest.cc
index 798b8417346e3d8b2bcde33ec5eacaea644f3b8e..f174979e8080b69ebc2b300e0a539e44c9da863b 100644
--- a/components/omnibox/browser/history_url_provider_unittest.cc
+++ b/components/omnibox/browser/history_url_provider_unittest.cc
@@ -908,7 +908,7 @@ TEST_F(HistoryURLProviderTest, CullSearchResults) {
data.SetURL("http://testsearch.com/?q={searchTerms}");
TemplateURLService* template_url_service = client_->GetTemplateURLService();
TemplateURL* template_url = new TemplateURL(data);
- template_url_service->Add(template_url);
+ template_url_service->Add(base::WrapUnique(template_url));
template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
template_url_service->Load();

Powered by Google App Engine
This is Rietveld 408576698