Chromium Code Reviews| 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 |
|
pkotwicz
2016/12/20 02:33:02
Nit: |desired_size|x|desired_size| (remove the spa
jkrcal
2017/02/06 19:01:22
Done.
|
| +// 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_ |