Index: chrome/browser/omnibox_search_hint.cc |
diff --git a/chrome/browser/omnibox_search_hint.cc b/chrome/browser/omnibox_search_hint.cc |
index 42f7de1c9940e97b60cde006f9324d0400a1a022..4191c9025eab4f8da69a6492e7a38ed0032b5ef5 100644 |
--- a/chrome/browser/omnibox_search_hint.cc |
+++ b/chrome/browser/omnibox_search_hint.cc |
@@ -100,7 +100,7 @@ HintInfoBar::~HintInfoBar() { |
bool HintInfoBar::ShouldExpire( |
const NavigationController::LoadCommittedDetails& details) const { |
- return should_expire_; |
+ return details.is_user_initiated_main_frame_load() && should_expire_; |
} |
void HintInfoBar::InfoBarDismissed() { |