summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
committerLei Zhang <thestig@chromium.org>2015-11-06 15:53:26 -0800
commite6cab2252ee48212420b52735afa6346bb256e2c (patch)
tree1ffbed054fd1c73dd1da6cd3393b82665c21c6ff /core
parentb4e7f304af0ad92d20f952e6634000d177974f47 (diff)
downloadpdfium-e6cab2252ee48212420b52735afa6346bb256e2c.tar.xz
XFA: Actually fix all relative includes to third_party.
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413253003 .
Diffstat (limited to 'core')
-rw-r--r--core/src/fxcodec/codec/fx_codec_png.cpp4
-rw-r--r--core/src/fxcodec/codec/fx_codec_tiff.cpp4
2 files changed, 6 insertions, 2 deletions
diff --git a/core/src/fxcodec/codec/fx_codec_png.cpp b/core/src/fxcodec/codec/fx_codec_png.cpp
index 658ddf2ca0..ea9c7a5b67 100644
--- a/core/src/fxcodec/codec/fx_codec_png.cpp
+++ b/core/src/fxcodec/codec/fx_codec_png.cpp
@@ -7,10 +7,12 @@
#include "../../../include/fxcodec/fx_codec.h"
#include "../../../include/fxge/fx_dib.h"
#include "codec_int.h"
+
extern "C" {
#undef FAR
-#include "../../../../third_party/lpng_v163/png.h"
+#include "third_party/lpng_v163/png.h"
}
+
static void _png_error_data(png_structp png_ptr, png_const_charp error_msg) {
if (png_get_error_ptr(png_ptr)) {
FXSYS_strncpy((char*)png_get_error_ptr(png_ptr), error_msg,
diff --git a/core/src/fxcodec/codec/fx_codec_tiff.cpp b/core/src/fxcodec/codec/fx_codec_tiff.cpp
index 1efd2fbf70..cf7af8fe77 100644
--- a/core/src/fxcodec/codec/fx_codec_tiff.cpp
+++ b/core/src/fxcodec/codec/fx_codec_tiff.cpp
@@ -7,9 +7,11 @@
#include "../../../include/fxcodec/fx_codec.h"
#include "../../../include/fxge/fx_dib.h"
#include "codec_int.h"
+
extern "C" {
-#include "../../../../third_party/tiff_v403/tiffiop.h"
+#include "third_party/tiff_v403/tiffiop.h"
}
+
void* IccLib_CreateTransform_sRGB(const unsigned char* pProfileData,
unsigned int dwProfileSize,
int nComponents,