| Index: chrome/browser/history/top_sites_impl.cc
|
| diff --git a/chrome/browser/history/top_sites_impl.cc b/chrome/browser/history/top_sites_impl.cc
|
| index d14e3874e2a4ad372598bf3a4986f5c87b54a02a..fe5ce18fbeec05f4e849768941f7e9bcf72e3f96 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))) {
|
|
|