| Index: chrome/browser/autofill/autofill_cc_infobar_delegate.cc
|
| ===================================================================
|
| --- chrome/browser/autofill/autofill_cc_infobar_delegate.cc (revision 84141)
|
| +++ chrome/browser/autofill/autofill_cc_infobar_delegate.cc (working copy)
|
| @@ -28,6 +28,8 @@
|
| }
|
|
|
| AutofillCCInfoBarDelegate::~AutofillCCInfoBarDelegate() {
|
| + if (!had_user_interaction_)
|
| + LogUserAction(AutofillMetrics::INFOBAR_IGNORED);
|
| }
|
|
|
| void AutofillCCInfoBarDelegate::LogUserAction(
|
| @@ -46,13 +48,6 @@
|
| return false;
|
| }
|
|
|
| -void AutofillCCInfoBarDelegate::InfoBarClosed() {
|
| - if (!had_user_interaction_)
|
| - LogUserAction(AutofillMetrics::INFOBAR_IGNORED);
|
| -
|
| - delete this;
|
| -}
|
| -
|
| void AutofillCCInfoBarDelegate::InfoBarDismissed() {
|
| LogUserAction(AutofillMetrics::INFOBAR_DENIED);
|
| }
|
|
|