| Index: ui/gfx/codec/jpeg_codec.h
|
| diff --git a/ui/gfx/codec/jpeg_codec.h b/ui/gfx/codec/jpeg_codec.h
|
| index 5d10be59cb1e3f21dcb79e3c2677630decc2d469..fbc07903ebc8a5cae6f5b6b36dbacc119c91632f 100644
|
| --- a/ui/gfx/codec/jpeg_codec.h
|
| +++ b/ui/gfx/codec/jpeg_codec.h
|
| @@ -23,10 +23,6 @@ namespace gfx {
|
| class CODEC_EXPORT JPEGCodec {
|
| public:
|
| enum ColorFormat {
|
| - // 3 bytes per pixel (packed), in RGB order regardless of endianness.
|
| - // This is the native JPEG format.
|
| - FORMAT_RGB,
|
| -
|
| // 4 bytes per pixel, in RGBA order in mem regardless of endianness.
|
| FORMAT_RGBA,
|
|
|
| @@ -39,15 +35,6 @@ class CODEC_EXPORT JPEGCodec {
|
| FORMAT_SkBitmap
|
| };
|
|
|
| - enum LibraryVariant {
|
| - SYSTEM_LIBJPEG = 0,
|
| - LIBJPEG_TURBO,
|
| - IJG_LIBJPEG,
|
| - };
|
| -
|
| - // This method helps identify at run time which library chromium is using.
|
| - static LibraryVariant JpegLibraryVariant();
|
| -
|
| // Encodes the given raw 'input' data, with each pixel being represented as
|
| // given in 'format'. The encoded JPEG data will be written into the supplied
|
| // vector and true will be returned on success. On failure (false), the
|
|
|