| Index: components/favicon_base/favicon_util.h
|
| diff --git a/components/favicon_base/favicon_util.h b/components/favicon_base/favicon_util.h
|
| index 088b471c47dabfb4d8462a95ae3bdcd2ec4d8064..b1dd6d629f4defc89c601c16dc6fdc4731e10d87 100644
|
| --- a/components/favicon_base/favicon_util.h
|
| +++ b/components/favicon_base/favicon_util.h
|
| @@ -45,6 +45,15 @@ favicon_base::FaviconRawBitmapResult ResizeFaviconBitmapResult(
|
| favicon_bitmap_results,
|
| int desired_size_in_pixel);
|
|
|
| -} // namspace favicon_base
|
| +// Returns a resampled bitmap of |desired_size| x |desired_size| by resampling
|
| +// the best bitmap out of |input_bitmaps|.
|
| +// ResizeBitmapByDownsamplingIfPossible() is similar to SelectFaviconFrames()
|
| +// but it operates on bitmaps which have already been resampled via
|
| +// SelectFaviconFrames().
|
| +SkBitmap ResizeBitmapByDownsamplingIfPossible(
|
| + const std::vector<SkBitmap>& input_bitmaps,
|
| + int desired_size);
|
| +
|
| +} // namespace favicon_base
|
|
|
| #endif // COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_
|
|
|