summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_helpers.cpp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-24 20:54:41 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-24 20:54:41 +0000
commita1d344230925e94bbf43a62ddc814321056c68d5 (patch)
tree521550993794bc12ae4927529a780d72f89e5283 /fpdfsdk/cpdfsdk_helpers.cpp
parentb242943f5e949ce3d92dcb62c7497815ccd231d1 (diff)
downloadpdfium-a1d344230925e94bbf43a62ddc814321056c68d5.tar.xz
Fix include order for cpdfxfa_context.hchromium/3407
It should include cpdfsdk_helpers, not the other way around. Change-Id: Id2cc3018e8c38f82ce8a35b03bb90e936aa1d446 Reviewed-on: https://pdfium-review.googlesource.com/31294 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_helpers.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_helpers.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.cpp b/fpdfsdk/cpdfsdk_helpers.cpp
index 9cf4c44147..4c417e15e5 100644
--- a/fpdfsdk/cpdfsdk_helpers.cpp
+++ b/fpdfsdk/cpdfsdk_helpers.cpp
@@ -8,6 +8,7 @@
#include "constants/stream_dict_common.h"
#include "core/fpdfapi/cpdf_modulemgr.h"
+#include "core/fpdfapi/page/cpdf_page.h"
#include "core/fpdfapi/parser/cpdf_array.h"
#include "core/fpdfapi/parser/cpdf_document.h"
#include "core/fpdfapi/parser/fpdf_parser_decode.h"
@@ -16,6 +17,10 @@
#include "core/fpdfdoc/cpdf_metadata.h"
#include "public/fpdf_ext.h"
+#ifdef PDF_ENABLE_XFA
+#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h"
+#endif
+
namespace {
constexpr char kQuadPoints[] = "QuadPoints";