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

Unified Diff: components/autofill/core/browser/autofill_manager.cc

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove infobar if its associated page content is destroyed. Created 5 years, 12 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
Index: components/autofill/core/browser/autofill_manager.cc
diff --git a/components/autofill/core/browser/autofill_manager.cc b/components/autofill/core/browser/autofill_manager.cc
index d6c41fed59ea92da22c6ebda49c629475ce94a7d..06ba058a015271e4612be5b177a9f9a04fe3e822 100644
--- a/components/autofill/core/browser/autofill_manager.cc
+++ b/components/autofill/core/browser/autofill_manager.cc
@@ -672,10 +672,10 @@ void AutofillManager::ImportFormData(const FormStructure& submitted_form) {
// save it.
if (imported_credit_card) {
client_->ConfirmSaveCreditCard(
+ driver_,
base::Bind(
base::IgnoreResult(&PersonalDataManager::SaveImportedCreditCard),
- base::Unretained(personal_data_),
- *imported_credit_card));
+ base::Unretained(personal_data_), *imported_credit_card));
}
}

Powered by Google App Engine
This is Rietveld 408576698