| Index: chrome/profile_import/profile_import_thread.cc
|
| diff --git a/chrome/profile_import/profile_import_thread.cc b/chrome/profile_import/profile_import_thread.cc
|
| index 4a7ca138d1d63843a0d036f8de599bea8982e774..4fa7cc3a49b025337882c25f37a8bf787e556bfd 100644
|
| --- a/chrome/profile_import/profile_import_thread.cc
|
| +++ b/chrome/profile_import/profile_import_thread.cc
|
| @@ -49,16 +49,16 @@ void ProfileImportThread::OnImportStart(
|
|
|
| ImporterList importer_list;
|
| importer_ = importer_list.CreateImporterByType(profile_info.browser_type);
|
| - importer_->AddRef(); // Balanced in Cleanup().
|
| - importer_->set_import_to_bookmark_bar(import_to_bookmark_bar);
|
| - items_to_import_ = items;
|
| -
|
| if (!importer_) {
|
| Send(new ProfileImportProcessHostMsg_Import_Finished(false,
|
| "Importer could not be created."));
|
| return;
|
| }
|
|
|
| + importer_->AddRef(); // Balanced in Cleanup().
|
| + importer_->set_import_to_bookmark_bar(import_to_bookmark_bar);
|
| + items_to_import_ = items;
|
| +
|
| // Create worker thread in which importer runs.
|
| import_thread_.reset(new base::Thread("import_thread"));
|
| base::Thread::Options options;
|
|
|