summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authornoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-01 23:59:18 +0000
committernoel@chromium.org <noel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-01 23:59:18 +0000
commit0268442ead269ffa4281e101c66c5570873c4c31 (patch)
treec0be48e52fe3322beb131a0d69d43ff53d743452 /third_party
parentd6c611340223170e19ccc2544e9510367749722b (diff)
downloadchromium_src-0268442ead269ffa4281e101c66c5570873c4c31.zip
chromium_src-0268442ead269ffa4281e101c66c5570873c4c31.tar.gz
chromium_src-0268442ead269ffa4281e101c66c5570873c4c31.tar.bz2
Add the ability to read the chromaticity (cHRM) chunk when png decoding.
BUG= TEST=No uses yet, check compiles. Review URL: http://codereview.chromium.org/10273024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134828 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/libpng/pngusr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libpng/pngusr.h b/third_party/libpng/pngusr.h
index d63985f..d080ea2 100644
--- a/third_party/libpng/pngusr.h
+++ b/third_party/libpng/pngusr.h
@@ -52,7 +52,7 @@
#define PNG_NO_READ_INVERT_ALPHA
#define PNG_NO_READ_RGB_TO_GRAY
#define PNG_NO_READ_bKGD
-#define PNG_NO_READ_cHRM
+#undef PNG_NO_READ_cHRM
#undef PNG_NO_READ_gAMA
#define PNG_NO_READ_hIST
#undef PNG_NO_READ_iCCP