Index: chrome/browser/autofill/autofill_ie_toolbar_import_win.cc |
=================================================================== |
--- chrome/browser/autofill/autofill_ie_toolbar_import_win.cc (revision 70440) |
+++ chrome/browser/autofill/autofill_ie_toolbar_import_win.cc (working copy) |
@@ -249,6 +249,9 @@ |
} |
bool ImportAutofillDataWin(PersonalDataManager* pdm) { |
+ // In incognito mode we do not have PDM - and we should not import anything. |
+ if (!pdm) |
+ return false; |
AutoFillImporter *importer = new AutoFillImporter(pdm); |
// importer will self delete. |
return importer->ImportProfiles(); |