Chromium Code Reviews| Index: ui/gfx/image/image_util.h |
| diff --git a/ui/gfx/image/image_util.h b/ui/gfx/image/image_util.h |
| index 8f17c368a8cada1d3456f17fc1b53b23c9eef03f..cee54a351f4e93f87be3bace6a65776dfcd9c114 100644 |
| --- a/ui/gfx/image/image_util.h |
| +++ b/ui/gfx/image/image_util.h |
| @@ -33,6 +33,10 @@ GFX_EXPORT bool JPEG1xEncodedDataFromImage(const Image& image, |
| int quality, |
| std::vector<unsigned char>* dst); |
| +bool JPEG1xEncodedDataFromSkiaRepresentation(const Image& image, |
|
Avi (use Gerrit)
2017/01/09 16:57:33
GFX_EXPORT?
Avi (use Gerrit)
2017/01/09 22:59:57
Ah, I see, this is for internal use only. Never mi
|
| + int quality, |
| + std::vector<unsigned char>* dst); |
| + |
| // Computes the width of any nearly-transparent regions at the sides of the |
| // image and returns them in |left| and |right|. This checks each column of |
| // pixels from the outsides in, looking for anything with alpha above a |