diff options
Diffstat (limited to 'chrome/browser/history/top_sites_impl.cc')
-rw-r--r-- | chrome/browser/history/top_sites_impl.cc | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/browser/history/top_sites_impl.cc b/chrome/browser/history/top_sites_impl.cc index d14e387..fe5ce18 100644 --- a/chrome/browser/history/top_sites_impl.cc +++ b/chrome/browser/history/top_sites_impl.cc @@ -874,10 +874,7 @@ void TopSitesImpl::MoveStateToLoaded() { for (size_t i = 0; i < pending_callbacks.size(); i++) pending_callbacks[i].Run(filtered_urls_all, filtered_urls_nonforced); - content::NotificationService::current()->Notify( - chrome::NOTIFICATION_TOP_SITES_LOADED, - content::Source<Profile>(profile_), - content::Details<TopSites>(this)); + NotifyTopSitesLoaded(); } void TopSitesImpl::ResetThreadSafeCache() { @@ -892,13 +889,6 @@ void TopSitesImpl::ResetThreadSafeImageCache() { thread_safe_cache_->SetThumbnails(cache_->images()); } -void TopSitesImpl::NotifyTopSitesChanged() { - content::NotificationService::current()->Notify( - chrome::NOTIFICATION_TOP_SITES_CHANGED, - content::Source<TopSites>(this), - content::NotificationService::NoDetails()); -} - void TopSitesImpl::RestartQueryForTopSitesTimer(base::TimeDelta delta) { if (timer_.IsRunning() && ((timer_start_time_ + timer_.GetCurrentDelay()) < (base::TimeTicks::Now() + delta))) { |