Index: chrome/browser/autofill/autofill_ie_toolbar_import_win.cc |
diff --git a/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc b/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc |
index 666700383d78c5ec2dd9c3f1819cd8054a131954..562eb2302759ef6cadf4a7d8517cd46b58984ec3 100644 |
--- a/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc |
+++ b/chrome/browser/autofill/autofill_ie_toolbar_import_win.cc |
@@ -135,9 +135,9 @@ bool ImportSingleProfile(FormGroup* profile, |
// Phones need to be rebuilt. |
PhoneNumber::PhoneCombineHelper phone; |
- for (uint32 value_index = 0; value_index < key->ValueCount(); ++value_index) { |
+ for (uint32 i = 0; i < key->GetValueCount(); ++i) { |
std::wstring value_name; |
- if (key->ReadName(value_index, &value_name) != ERROR_SUCCESS) |
+ if (key->GetValueNameAt(i, &value_name) != ERROR_SUCCESS) |
continue; |
RegToFieldMap::const_iterator it = reg_to_field.find(value_name); |
if (it == reg_to_field.end()) |