commit | 93b255b19e01a0f10ac3b9e20f2d8fedcb5e57ca | [log] [tgz] |
---|---|---|
author | kkinnunen <kkinnunen@nvidia.com> | Sun Oct 19 22:07:23 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Sun Oct 19 22:07:24 2014 -0700 |
tree | ea466af1b4e561f2b5e887dd48aa89b857fffad5 | |
parent | 468b1815d29d9bbe513f2d8eb4afc0b066715b52 [diff] |
Make SkImageDecoder_libpng be compilable with Chromium libpng Chromium has libpng with pngusr.h that disables certain functionality with defines. Use those defines when compiling SkImageDecoder_libpng.cpp. This makes it possible to use Skia PNG decoder and encoder when compiling dm with Chromium. Skia PNG decoder and encoder of course is not compiled to the skia library, but to dm with Chromium. BUG=skia:2992 Review URL: https://codereview.chromium.org/645883004