| Index: chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| diff --git a/chrome/browser/thumbnails/thumbnail_service_impl.cc b/chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| index ccd59c1ed26b27a3755901a289ac0fc40ae0c223..29ff5ec95661b432b595c108a325bb9d8f898b0e 100644
|
| --- a/chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| +++ b/chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| @@ -7,7 +7,7 @@
|
| #include "base/command_line.h"
|
| #include "base/memory/ref_counted_memory.h"
|
| #include "base/time/time.h"
|
| -#include "chrome/browser/history/history_service.h"
|
| +#include "chrome/browser/history/history_utils.h"
|
| #include "chrome/browser/history/top_sites_factory.h"
|
| #include "chrome/browser/thumbnails/content_based_thumbnailing_algorithm.h"
|
| #include "chrome/browser/thumbnails/simple_thumbnail_crop.h"
|
| @@ -99,7 +99,7 @@ bool ThumbnailServiceImpl::ShouldAcquirePageThumbnail(const GURL& url) {
|
| return false;
|
|
|
| // Skip if the given URL is not appropriate for history.
|
| - if (!HistoryService::CanAddURL(url))
|
| + if (!CanAddURLToHistory(url))
|
| return false;
|
| // Skip if the top sites list is full, and the URL is not known.
|
| if (local_ptr->IsNonForcedFull() && !local_ptr->IsKnownURL(url))
|
|
|