| Index: chrome/browser/importer/profile_writer.cc
|
| diff --git a/chrome/browser/importer/profile_writer.cc b/chrome/browser/importer/profile_writer.cc
|
| index 3350dfc84964a96bd1bf86fb7f65eab14da8834c..5fa17773a6cabf8bb3db9c56bdcd3c8404430edd 100644
|
| --- a/chrome/browser/importer/profile_writer.cc
|
| +++ b/chrome/browser/importer/profile_writer.cc
|
| @@ -318,7 +318,7 @@ void ProfileWriter::AddKeywords(ScopedVector<TemplateURL> template_urls,
|
|
|
| // Only add valid TemplateURLs to the model.
|
| if ((*i)->url_ref().IsValid(model->search_terms_data())) {
|
| - model->AddAndSetProfile(*i, profile_); // Takes ownership.
|
| + model->Add(*i); // Takes ownership.
|
| *i = NULL; // Prevent the vector from deleting *i later.
|
| }
|
| }
|
|
|