| Index: components/omnibox/browser/scored_history_match_unittest.cc
|
| diff --git a/components/omnibox/browser/scored_history_match_unittest.cc b/components/omnibox/browser/scored_history_match_unittest.cc
|
| index a382a5470bade3acc7f65121fdda26bf5452739c..a4d776115fcc7dfe11775c195f60a585c35a309c 100644
|
| --- a/components/omnibox/browser/scored_history_match_unittest.cc
|
| +++ b/components/omnibox/browser/scored_history_match_unittest.cc
|
| @@ -312,8 +312,8 @@ TEST_F(ScoredHistoryMatchTest, CullSearchResults) {
|
| data.SetShortName(ASCIIToUTF16("TestEngine"));
|
| data.SetKeyword(ASCIIToUTF16("TestEngine"));
|
| data.SetURL("http://testsearch.com/{searchTerms}");
|
| - TemplateURL* template_url = new TemplateURL(data);
|
| - template_url_service->Add(template_url);
|
| + TemplateURL* template_url =
|
| + template_url_service->Add(base::MakeUnique<TemplateURL>(data));
|
| template_url_service->SetUserSelectedDefaultSearchProvider(template_url);
|
| template_url_service->Load();
|
|
|
|
|