Chromium Code Reviews| Index: base/gfx/png_encoder.cc |
| diff --git a/base/gfx/png_encoder.cc b/base/gfx/png_encoder.cc |
| index c34273613d4812d69ce974d5dfff37cb81a81cd3..10a60c64633d4adc5dc884663dfaa9fa10328ab8 100644 |
| --- a/base/gfx/png_encoder.cc |
| +++ b/base/gfx/png_encoder.cc |
| @@ -10,7 +10,11 @@ |
| #include "third_party/skia/include/core/SkUnPreMultiply.h" |
| extern "C" { |
| +#if defined(USE_SYSTEM_LIBPNG) |
| +#include <png.h> |
| +#else |
| #include "third_party/libpng/png.h" |
| +#endif |
| } |
| namespace { |