Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / ui / autofill / autofill_dialog_i18n_input.cc
index 5c31721..582a2b3 100644 (file)
@@ -60,6 +60,9 @@ void BuildAddressInputs(common::AddressType address_type,
 
   for (size_t i = 0; i < components.size(); ++i) {
     const AddressUiComponent& component = components[i];
+    // Interactive autofill dialog does not display organization.
+    if (component.field == ::i18n::addressinput::ORGANIZATION)
+      continue;
     ServerFieldType server_type = i18n::TypeForField(component.field, billing);
     DetailInput::Length length = LengthFromHint(component.length_hint);
     base::string16 placeholder = base::UTF8ToUTF16(component.name);