diff options
Diffstat (limited to 'chrome/browser/fav_icon_helper.cc')
-rw-r--r-- | chrome/browser/fav_icon_helper.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/chrome/browser/fav_icon_helper.cc b/chrome/browser/fav_icon_helper.cc index 3cf5af5..f29f68c 100644 --- a/chrome/browser/fav_icon_helper.cc +++ b/chrome/browser/fav_icon_helper.cc @@ -122,10 +122,7 @@ void FavIconHelper::UpdateFavIcon(NavigationEntry* entry, return; entry->favicon().set_bitmap(image); - if (tab_contents_->delegate()) { - tab_contents_->delegate()->NavigationStateChanged( - tab_contents_, TabContents::INVALIDATE_FAVICON); - } + tab_contents_->NotifyNavigationStateChanged(TabContents::INVALIDATE_TAB); } NavigationEntry* FavIconHelper::GetEntry() { |