| Index: third_party/libpng/png.h
|
| diff --git a/third_party/libpng/png.h b/third_party/libpng/png.h
|
| index 29dc52b4dbea2a5c650ca08e4737bb0a2627ea79..be4456be2e1ccf150a7cdd1ea2bdeae0a270417c 100644
|
| --- a/third_party/libpng/png.h
|
| +++ b/third_party/libpng/png.h
|
| @@ -850,6 +850,13 @@ typedef struct png_info_struct
|
| /* GR-P, 0.96a */
|
| /* Data valid if (valid & PNG_INFO_sRGB) non-zero. */
|
| png_byte srgb_intent PNG_DEPSTRUCT; /* sRGB rendering intent [0, 1, 2, or 3] */
|
| +#ifdef CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA
|
| + /* Set if cHRM or gAMA chunks were also seen in the PNG headers when
|
| + * sRGB and iCCP read support are both enabled. Values contained are
|
| + * chunk info->valid flags, viz., PNG_INFO_cHRM | PNG_INFO_gAMA.
|
| + */
|
| + png_uint_32 chroma_or_gamma;
|
| +#endif
|
| #endif
|
|
|
| #ifdef PNG_TEXT_SUPPORTED
|
|
|