| 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..f5c2cae8fe808602025d8333045804ade6536025 100644
|
| --- a/components/favicon_base/favicon_util.h
|
| +++ b/components/favicon_base/favicon_util.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_
|
| #define COMPONENTS_FAVICON_BASE_FAVICON_UTIL_H_
|
|
|
| +#include <map>
|
| #include <vector>
|
|
|
| #include "components/favicon_base/favicon_types.h"
|
| @@ -36,6 +37,10 @@ gfx::Image SelectFaviconFramesFromPNGs(
|
| const std::vector<float>& favicon_scales,
|
| int favicon_size);
|
|
|
| +gfx::Image SelectFaviconFramesForPixelSizesFromPNGs(
|
| + const std::vector<favicon_base::FaviconRawBitmapResult>& png_data,
|
| + const std::map<int, float>& desired_pixel_sizes);
|
| +
|
| // 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,
|
|
|