diff options
author | Leon Scroggins III <scroggo@google.com> | 2018-02-28 16:24:18 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-28 21:46:03 +0000 |
commit | 9e8a594905316d14aeb55ab5ab5f50e03cb847c6 (patch) | |
tree | 52fe46a142e298307fc1b75bc75d7821fdc3b2b3 /third_party/libpng | |
parent | 84447e03ac2c8543d1e943cb6f754b910581e4bc (diff) |
Support pngs with incorrect CMF bytes
Bug: chromium:807324
Though these pngs are technically incorrect, many such PNGs exist, and
they are supported in Chromium. Ensure that users of SkCodec (e.g.
Android, Flutter) display them as well.
Change-Id: I2f1e573b4b7039cea81f96397cc0aa4cbc9461c3
Reviewed-on: https://skia-review.googlesource.com/111082
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Diffstat (limited to 'third_party/libpng')
-rw-r--r-- | third_party/libpng/BUILD.gn | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn index a01ede6501..2b2d72a0e6 100644 --- a/third_party/libpng/BUILD.gn +++ b/third_party/libpng/BUILD.gn @@ -20,7 +20,7 @@ if (skia_use_system_libpng) { "../externals/libpng", ] - defines = [] + defines = [ "PNG_SET_OPTION_SUPPORTED" ] deps = [ "//third_party/zlib", ] |