| 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 ab3ef6273a8a2de41c9f51b5f33e55d473cb4cb3..f4ae3f5517385be916e99a288b11f5183ff674a2 100644
|
| --- a/chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| +++ b/chrome/browser/thumbnails/thumbnail_service_impl.cc
|
| @@ -28,13 +28,13 @@ bool IsThumbnailRetargetingEnabled() {
|
| switches::kEnableThumbnailRetargeting);
|
| }
|
|
|
| -}
|
| +} // namespace
|
|
|
| namespace thumbnails {
|
|
|
| ThumbnailServiceImpl::ThumbnailServiceImpl(Profile* profile)
|
| : top_sites_(profile->GetTopSites()),
|
| - use_thumbnail_retargeting_(IsThumbnailRetargetingEnabled()){
|
| + use_thumbnail_retargeting_(IsThumbnailRetargetingEnabled()) {
|
| }
|
|
|
| ThumbnailServiceImpl::~ThumbnailServiceImpl() {
|
| @@ -51,12 +51,13 @@ bool ThumbnailServiceImpl::SetPageThumbnail(const ThumbnailingContext& context,
|
|
|
| bool ThumbnailServiceImpl::GetPageThumbnail(
|
| const GURL& url,
|
| + bool prefix_match,
|
| scoped_refptr<base::RefCountedMemory>* bytes) {
|
| scoped_refptr<history::TopSites> local_ptr(top_sites_);
|
| if (local_ptr.get() == NULL)
|
| return false;
|
|
|
| - return local_ptr->GetPageThumbnail(url, bytes);
|
| + return local_ptr->GetPageThumbnail(url, prefix_match, bytes);
|
| }
|
|
|
| ThumbnailingAlgorithm* ThumbnailServiceImpl::GetThumbnailingAlgorithm()
|
|
|