| Index: chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
|
| diff --git a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
|
| index f982d81ccf26e3730a3409db9e0aa022c3af32ff..6cefe1c775c7802a944b3a58d1f234d90780a97d 100644
|
| --- a/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
|
| +++ b/chrome/browser/ui/search_engines/keyword_editor_controller_unittest.cc
|
| @@ -3,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "base/compiler_specific.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/string16.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| @@ -244,8 +245,7 @@ TEST_F(KeywordEditorControllerTest, MutateTemplateURLService) {
|
| TemplateURLData data;
|
| data.SetShortName(ASCIIToUTF16("b"));
|
| data.SetKeyword(ASCIIToUTF16("a"));
|
| - TemplateURL* turl = new TemplateURL(data);
|
| - util()->model()->Add(turl);
|
| + TemplateURL* turl = util()->model()->Add(base::MakeUnique<TemplateURL>(data));
|
|
|
| // Table model should have updated.
|
| VerifyChangeCount(1, 0, 0, 0);
|
|
|