| 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 e3298d8f396d39dce803c4b6205ba1af286d6993..63e360711548ec37d8bd223ffa642c277ec4d84d 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))) {
|
|
|