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

Unified Diff: chrome/browser/ui/autofill/chrome_autofill_client.cc

Issue 780423002: Don't deref stale AutofillMetrics pointer in AutofillCCInfoBarDelegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: static-ify Created 6 years 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: chrome/browser/ui/autofill/chrome_autofill_client.cc
diff --git a/chrome/browser/ui/autofill/chrome_autofill_client.cc b/chrome/browser/ui/autofill/chrome_autofill_client.cc
index 5aa836cb049d6db5be3714bec1df0670c3f5b2e3..7fad8094c6b04c611af9647f25a14f4ffe46a0da 100644
--- a/chrome/browser/ui/autofill/chrome_autofill_client.cc
+++ b/chrome/browser/ui/autofill/chrome_autofill_client.cc
@@ -107,12 +107,10 @@ void ChromeAutofillClient::ShowAutofillSettings() {
}
void ChromeAutofillClient::ConfirmSaveCreditCard(
- const AutofillMetrics& metric_logger,
const base::Closure& save_card_callback) {
InfoBarService* infobar_service =
InfoBarService::FromWebContents(web_contents_);
- AutofillCCInfoBarDelegate::Create(
- infobar_service, &metric_logger, save_card_callback);
+ AutofillCCInfoBarDelegate::Create(infobar_service, save_card_callback);
}
bool ChromeAutofillClient::HasCreditCardScanFeature() {
« no previous file with comments | « chrome/browser/ui/autofill/chrome_autofill_client.h ('k') | components/autofill/core/browser/autofill_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698