Index: chrome/browser/ui/cocoa/keystone_infobar.mm |
diff --git a/chrome/browser/ui/cocoa/keystone_infobar.mm b/chrome/browser/ui/cocoa/keystone_infobar.mm |
index 265d122400a1473fdf1b65513fe8abaa90f5e7b3..fb783f81b7cb22b2af6e33171f6db987ba5a1562 100644 |
--- a/chrome/browser/ui/cocoa/keystone_infobar.mm |
+++ b/chrome/browser/ui/cocoa/keystone_infobar.mm |
@@ -84,7 +84,7 @@ KeystonePromotionInfoBarDelegate::~KeystonePromotionInfoBarDelegate() { |
bool KeystonePromotionInfoBarDelegate::ShouldExpire( |
const NavigationController::LoadCommittedDetails& details) const { |
- return can_expire_; |
+ return details.is_user_initiated_main_frame_load() && can_expire_; |
} |
gfx::Image* KeystonePromotionInfoBarDelegate::GetIcon() const { |