Chromium Code Reviews| Index: ui/gfx/image/image_skia.h |
| diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
| index db7447d986c08a497371523456e372544a5d21be..94702da600a40471229ed38856c8e97e63cd9bea 100644 |
| --- a/ui/gfx/image/image_skia.h |
| +++ b/ui/gfx/image/image_skia.h |
| @@ -75,6 +75,9 @@ class GFX_EXPORT ImageSkia { |
| // Returns the maximum scale supported by this platform. |
| static float GetMaxSupportedScale(); |
| + // Maps to closest supported scale. |
|
msw
2017/05/24 20:27:59
nit: "Maps |scale| to the closest supported scale.
khmel
2017/05/24 21:32:37
Done.
|
| + static float MapToSupportedScale(float scale); |
| + |
| // Creates an image from the passed in bitmap. |
| // DIP width and height are based on scale factor of 1x. |
| // Adds ref to passed in bitmap. |