summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2016-01-15 19:38:03 -0800
committerLei Zhang <thestig@chromium.org>2016-01-15 19:38:03 -0800
commita76a6d8bcb76077fa248b64c5d64791dc8f23771 (patch)
tree1ea7c74990f4ca926ca61f29fc63831e23303521 /core
parent2991d8d171e917912fd250c3c8ed693568dc1d8c (diff)
downloadpdfium-chromium/2624.tar.xz
XFA: Rename libpng to libpng16.chromium/2625chromium/2624
Otherwise this conflicts with Chromium's copy if the include paths just happens to be in the wrong order. Since the two copies of libpng are of different versions, we cannot use Chromium's copy. TBR=tsepez@chromium.org,ochang@chromium.org Review URL: https://codereview.chromium.org/1599513004 .
Diffstat (limited to 'core')
-rw-r--r--core/src/fxcodec/codec/DEPS2
-rw-r--r--core/src/fxcodec/codec/fx_codec_png.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/fxcodec/codec/DEPS b/core/src/fxcodec/codec/DEPS
index bfbbd82831..495d288992 100644
--- a/core/src/fxcodec/codec/DEPS
+++ b/core/src/fxcodec/codec/DEPS
@@ -1,4 +1,4 @@
include_rules = [
- '+third_party/libpng/png.h',
+ '+third_party/libpng16/png.h',
'+third_party/libtiff/tiffiop.h',
]
diff --git a/core/src/fxcodec/codec/fx_codec_png.cpp b/core/src/fxcodec/codec/fx_codec_png.cpp
index 97c2f77f77..9e08473339 100644
--- a/core/src/fxcodec/codec/fx_codec_png.cpp
+++ b/core/src/fxcodec/codec/fx_codec_png.cpp
@@ -12,7 +12,7 @@
extern "C" {
#undef FAR
-#include "third_party/libpng/png.h"
+#include "third_party/libpng16/png.h"
}
static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) {