Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(127)

Unified Diff: chrome/browser/ui/views/payments/contact_info_editor_view_controller.cc

Issue 2847503002: [WebPayments] Show labels on incomplete profiles (Closed)
Patch Set: test fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/order_summary_view_controller_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32bbdd919c781bf7b615731098e802c905d88c8d..a9cede0f9753ea8be473b43fae32fdcd41e534e3 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
@@ -78,6 +78,7 @@ bool ContactInfoEditorViewController::ValidateModelAndSave() {
if (profile_to_edit_) {
PopulateProfile(profile_to_edit_);
state()->GetPersonalDataManager()->UpdateProfile(*profile_to_edit_);
+ state()->profile_comparator()->Invalidate(*profile_to_edit_);
} else {
std::unique_ptr<autofill::AutofillProfile> profile =
base::MakeUnique<autofill::AutofillProfile>();
« no previous file with comments | « no previous file | chrome/browser/ui/views/payments/order_summary_view_controller_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698