Index: chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc |
diff --git a/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc b/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc |
index 1c8a1701eac77a0c3e69ab224cff8802ca034516..36d8ced0ffc8f24a365967815e654ec1993bd14a 100644 |
--- a/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc |
+++ b/chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc |
@@ -223,6 +223,8 @@ void GeneratedCreditCardBubbleController::SetupAndShow( |
} |
void GeneratedCreditCardBubbleController::Show(bool was_anchor_click) { |
+ Hide(); |
+ |
if (!CanShow()) |
return; |