| Index: components/autofill/core/browser/autofill_profile.cc
|
| diff --git a/components/autofill/core/browser/autofill_profile.cc b/components/autofill/core/browser/autofill_profile.cc
|
| index a8098d1fd2ab98f87b8f47ea88b84b7e8cdd76f2..49176d36568401c68846a5de7f9f09343bea1758 100644
|
| --- a/components/autofill/core/browser/autofill_profile.cc
|
| +++ b/components/autofill/core/browser/autofill_profile.cc
|
| @@ -636,7 +636,8 @@ bool AutofillProfile::SaveAdditionalInfo(const AutofillProfile& profile,
|
| // Special case for the state to support abbreviations. Currently only the
|
| // US states are supported.
|
| if (field_type == ADDRESS_HOME_STATE) {
|
| - base::string16 full, abbreviation;
|
| + base::string16 full;
|
| + base::string16 abbreviation;
|
| state_names::GetNameAndAbbreviation(GetRawInfo(ADDRESS_HOME_STATE),
|
| &full, &abbreviation);
|
| if (compare.StringsEqual(profile.GetRawInfo(ADDRESS_HOME_STATE),
|
|
|