| Index: chrome/browser/ui/search_engines/template_url_table_model.h
|
| diff --git a/chrome/browser/ui/search_engines/template_url_table_model.h b/chrome/browser/ui/search_engines/template_url_table_model.h
|
| index bfd90ed321288e89a75cc31c70ecd5c689b06db3..4bc76e7d4f4fe0f4e3a304904e212bfa9e97c97b 100644
|
| --- a/chrome/browser/ui/search_engines/template_url_table_model.h
|
| +++ b/chrome/browser/ui/search_engines/template_url_table_model.h
|
| @@ -115,13 +115,13 @@ class TemplateURLTableModel : public ui::TableModel,
|
| // Removes the entry at |index| from |entries_| and returns the removed item.
|
| std::unique_ptr<ModelEntry> RemoveEntry(int index);
|
|
|
| - // Adds |entry| to |entries_| at |index| and takes ownership.
|
| + // Adds |entry| to |entries_| at |index|.
|
| void AddEntry(int index, std::unique_ptr<ModelEntry> entry);
|
|
|
| ui::TableModelObserver* observer_;
|
|
|
| // The entries.
|
| - std::vector<ModelEntry*> entries_;
|
| + std::vector<std::unique_ptr<ModelEntry>> entries_;
|
|
|
| // The model we're displaying entries from.
|
| TemplateURLService* template_url_service_;
|
|
|