| Index: components/favicon_base/favicon_util.h
|
| diff --git a/components/favicon_base/favicon_util.h b/components/favicon_base/favicon_util.h
|
| index 912f06f2f8d2c53363ee7a9fe46dc8e7cdc46917..088b471c47dabfb4d8462a95ae3bdcd2ec4d8064 100644
|
| --- a/components/favicon_base/favicon_util.h
|
| +++ b/components/favicon_base/favicon_util.h
|
| @@ -36,6 +36,15 @@ gfx::Image SelectFaviconFramesFromPNGs(
|
| const std::vector<float>& favicon_scales,
|
| int favicon_size);
|
|
|
| +// Generates a favicon_bitmap_result sized exactly to [desired_size,
|
| +// desired_size] from the provided result set. If the exact size is found in
|
| +// the set, it just returns that; otherwise, it will decode the PNG, scale,
|
| +// and encode a new PNG.
|
| +favicon_base::FaviconRawBitmapResult ResizeFaviconBitmapResult(
|
| + const std::vector<favicon_base::FaviconRawBitmapResult>&
|
| + favicon_bitmap_results,
|
| + int desired_size_in_pixel);
|
| +
|
| } // namspace favicon_base
|
|
|
| #endif // COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_
|
|
|