| Index: components/autofill/core/browser/autofill_external_delegate.cc
|
| diff --git a/components/autofill/core/browser/autofill_external_delegate.cc b/components/autofill/core/browser/autofill_external_delegate.cc
|
| index b2f303870de69811d3bd079183d511866fc0b37a..6b04aa5b5733fa0e876d9bb7fe52e030075ccd62 100644
|
| --- a/components/autofill/core/browser/autofill_external_delegate.cc
|
| +++ b/components/autofill/core/browser/autofill_external_delegate.cc
|
| @@ -108,8 +108,9 @@ void AutofillExternalDelegate::OnSuggestionsReturned(
|
| if (has_autofill_suggestions_)
|
| ApplyAutofillOptions(&suggestions);
|
|
|
| - // Append the credit card signin promo, if appropriate.
|
| - if (should_show_cc_signin_promo_) {
|
| + // Append the credit card signin promo, if appropriate (there are no other
|
| + // suggestions).
|
| + if (suggestions.empty() && should_show_cc_signin_promo_) {
|
| // No separator on Android.
|
| #if !defined(OS_ANDROID)
|
| // If there are autofill suggestions, the "Autofill options" row was added
|
|
|