Index: chrome/browser/autofill/personal_data_manager.cc |
diff --git a/chrome/browser/autofill/personal_data_manager.cc b/chrome/browser/autofill/personal_data_manager.cc |
index 75f89cec002c5a7f6ad6873d590e47b60bc40b5a..52b4ca7dd233d3b19e47e6e1b443c57f2a4ddb2d 100644 |
--- a/chrome/browser/autofill/personal_data_manager.cc |
+++ b/chrome/browser/autofill/personal_data_manager.cc |
@@ -140,7 +140,7 @@ void PersonalDataManager::RemoveObserver( |
} |
bool PersonalDataManager::ImportFormData( |
- const std::vector<FormStructure*>& form_structures) { |
+ const std::vector<const FormStructure*>& form_structures) { |
// Parse the form and construct a profile based on the information that is |
// possible to import. |
int importable_fields = 0; |
@@ -149,7 +149,7 @@ bool PersonalDataManager::ImportFormData( |
// TODO(jhawkins): Use a hash of the CC# instead of a list of unique IDs? |
imported_credit_card_.reset(new CreditCard); |
- std::vector<FormStructure*>::const_iterator iter; |
+ std::vector<const FormStructure*>::const_iterator iter; |
for (iter = form_structures.begin(); iter != form_structures.end(); ++iter) { |
const FormStructure* form = *iter; |
for (size_t i = 0; i < form->field_count(); ++i) { |