Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: third_party/libpng/pngusr.h

Issue 754183005: Define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/libpng/pngrutil.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/pngusr.h
diff --git a/third_party/libpng/pngusr.h b/third_party/libpng/pngusr.h
index fabae6eab4fa694fe1818d939c111e9c70cb450d..e9b66fbd66f7ad9f679111dace5b2f14ba205d28 100644
--- a/third_party/libpng/pngusr.h
+++ b/third_party/libpng/pngusr.h
@@ -74,6 +74,12 @@
#define PNG_NO_READ_EMPTY_PLTE
#define PNG_NO_READ_OPT_PLTE
+#if !defined(PNG_NO_READ_cHRM) && !defined(PNG_NO_READ_gAMA)
+#if !defined(PNG_NO_READ_iCCP) && !defined(PNG_NO_READ_sRGB)
+#define CHROME_PNG_READ_iCCP_sRGB_cHRM_gAMA
+#endif
+#endif
+
#ifdef CHROME_PNG_WRITE_SUPPORT
#define PNG_NO_WRITE_BACKGROUND
#define PNG_NO_WRITE_DITHER
« no previous file with comments | « third_party/libpng/pngrutil.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698