Index: chrome/browser/ui/browser_init.cc |
diff --git a/chrome/browser/ui/browser_init.cc b/chrome/browser/ui/browser_init.cc |
index 9ae505f8c6d03a31b564dfc9ce85011b9be85915..d181c011b73d38cd37346ef223aadb6f373ca9d0 100644 |
--- a/chrome/browser/ui/browser_init.cc |
+++ b/chrome/browser/ui/browser_init.cc |
@@ -187,7 +187,7 @@ DefaultBrowserInfoBarDelegate::~DefaultBrowserInfoBarDelegate() { |
bool DefaultBrowserInfoBarDelegate::ShouldExpire( |
const NavigationController::LoadCommittedDetails& details) const { |
- return should_expire_; |
+ return details.is_user_initiated_main_frame_load() && should_expire_; |
} |
gfx::Image* DefaultBrowserInfoBarDelegate::GetIcon() const { |