Index: chrome/utility/profile_import_handler.cc |
diff --git a/chrome/utility/profile_import_handler.cc b/chrome/utility/profile_import_handler.cc |
index f90b1281124ffe649fdffcb0916bd37821abc2c2..c1119efe217b379cf5c9b5b0940b86e62eb55bc0 100644 |
--- a/chrome/utility/profile_import_handler.cc |
+++ b/chrome/utility/profile_import_handler.cc |
@@ -39,9 +39,9 @@ void ProfileImportHandler::OnImportStart( |
localized_strings, content::UtilityThread::Get(), |
base::MessageLoopProxy::current()); |
importer_ = importer::CreateImporterByType(source_profile.importer_type); |
- if (!importer_) { |
- Send(new ProfileImportProcessHostMsg_Import_Finished(false, |
- "Importer could not be created.")); |
+ if (!importer_.get()) { |
+ Send(new ProfileImportProcessHostMsg_Import_Finished( |
+ false, "Importer could not be created.")); |
return; |
} |