summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/browser/views/info_bar_view.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/views/info_bar_view.cc b/chrome/browser/views/info_bar_view.cc
index 399a120..92d74cb 100644
--- a/chrome/browser/views/info_bar_view.cc
+++ b/chrome/browser/views/info_bar_view.cc
@@ -141,7 +141,9 @@ void InfoBarView::DidNavigate(NavigationEntry* entry) {
entry->unique_id();
for (std::map<View*,int>::iterator i = expire_map_.begin();
i != expire_map_.end(); ++i) {
- if ((i->second) != active_id)
+ if ((pending_entry &&
+ pending_entry->GetTransitionType() == PageTransition::RELOAD) ||
+ i->second != active_id)
to_remove.push_back(i->first);
}