Index: chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc |
diff --git a/chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc b/chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc |
index f500fd02f1d56f920f0d4686e7e3f531d6c0637b..dbdbda3feacbe1ad228c071e8cad1ecf6822ebc0 100644 |
--- a/chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc |
+++ b/chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc |
@@ -125,16 +125,6 @@ base::string16 ContactInfoEditorViewController::GetSheetTitle() { |
IDS_PAYMENTS_ADD_CONTACT_DETAILS_LABEL); |
} |
-bool ContactInfoEditorViewController::ValidateModel() { |
- for (const auto& field : text_fields()) { |
- // Force a blur, as validation only occurs after the first blur. |
- field.first->OnBlur(); |
- if (field.first->invalid()) |
- return false; |
- } |
- return true; |
-} |
- |
void ContactInfoEditorViewController::PopulateProfile( |
autofill::AutofillProfile* profile) { |
for (const auto& field : text_fields()) { |