| Index: chrome/browser/ui/webui/options/autofill_options_handler.cc
 | 
| diff --git a/chrome/browser/ui/webui/options/autofill_options_handler.cc b/chrome/browser/ui/webui/options/autofill_options_handler.cc
 | 
| index 46e11e7af763ce76320cea62cb3fc71c1750113a..45087bfa6de7aa47af43f3685940c8fbdbc41499 100644
 | 
| --- a/chrome/browser/ui/webui/options/autofill_options_handler.cc
 | 
| +++ b/chrome/browser/ui/webui/options/autofill_options_handler.cc
 | 
| @@ -28,9 +28,10 @@
 | 
|  #include "content/public/browser/web_ui.h"
 | 
|  #include "grit/components_strings.h"
 | 
|  #include "grit/generated_resources.h"
 | 
| -#include "grit/libaddressinput_strings.h"
 | 
| -#include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui.h"
 | 
| -#include "third_party/libaddressinput/chromium/cpp/include/libaddressinput/address_ui_component.h"
 | 
| +#include "third_party/libaddressinput/messages.h"
 | 
| +#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui.h"
 | 
| +#include "third_party/libaddressinput/src/cpp/include/libaddressinput/address_ui_component.h"
 | 
| +#include "third_party/libaddressinput/src/cpp/include/libaddressinput/localization.h"
 | 
|  #include "ui/base/l10n/l10n_util.h"
 | 
|  #include "ui/base/webui/web_ui_util.h"
 | 
|  
 | 
| @@ -69,13 +70,24 @@ void GetAddressComponents(const std::string& country_code,
 | 
|                            std::string* components_language_code) {
 | 
|    DCHECK(address_components);
 | 
|  
 | 
| +  i18n::addressinput::Localization localization;
 | 
| +  localization.SetGetter(l10n_util::GetStringUTF8);
 | 
| +  std::string not_used;
 | 
|    std::vector<AddressUiComponent> components =
 | 
|        i18n::addressinput::BuildComponents(
 | 
| -          country_code, ui_language_code, components_language_code);
 | 
| +          country_code,
 | 
| +          localization,
 | 
| +          ui_language_code,
 | 
| +          components_language_code == NULL ?
 | 
| +              ¬_used : components_language_code);
 | 
|    if (components.empty()) {
 | 
|      static const char kDefaultCountryCode[] = "US";
 | 
|      components = i18n::addressinput::BuildComponents(
 | 
| -        kDefaultCountryCode, ui_language_code, components_language_code);
 | 
| +        kDefaultCountryCode,
 | 
| +        localization,
 | 
| +        ui_language_code,
 | 
| +        components_language_code == NULL ?
 | 
| +            ¬_used : components_language_code);
 | 
|    }
 | 
|    DCHECK(!components.empty());
 | 
|  
 | 
| @@ -91,8 +103,7 @@ void GetAddressComponents(const std::string& country_code,
 | 
|      }
 | 
|  
 | 
|      scoped_ptr<base::DictionaryValue> component(new base::DictionaryValue);
 | 
| -    component->SetString(
 | 
| -        "name", l10n_util::GetStringUTF16(components[i].name_id));
 | 
| +    component->SetString("name", components[i].name);
 | 
|  
 | 
|      switch (components[i].field) {
 | 
|        case i18n::addressinput::COUNTRY:
 | 
| @@ -376,7 +387,7 @@ void AutofillOptionsHandler::SetAddressOverlayStrings(
 | 
|    localized_strings->SetString("autofillEditAddressTitle",
 | 
|        l10n_util::GetStringUTF16(IDS_AUTOFILL_EDIT_ADDRESS_CAPTION));
 | 
|    localized_strings->SetString("autofillCountryLabel",
 | 
| -      l10n_util::GetStringUTF16(IDS_LIBADDRESSINPUT_I18N_COUNTRY_LABEL));
 | 
| +      l10n_util::GetStringUTF16(IDS_LIBADDRESSINPUT_COUNTRY_OR_REGION_LABEL));
 | 
|    localized_strings->SetString("autofillPhoneLabel",
 | 
|        l10n_util::GetStringUTF16(IDS_AUTOFILL_FIELD_LABEL_PHONE));
 | 
|    localized_strings->SetString("autofillEmailLabel",
 | 
| 
 |