summaryrefslogtreecommitdiff
path: root/fxjs/cjs_app.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 /fxjs/cjs_app.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 'fxjs/cjs_app.cpp')
-rw-r--r--fxjs/cjs_app.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/fxjs/cjs_app.cpp b/fxjs/cjs_app.cpp
index 35bdc32dc1..020bc5662f 100644
--- a/fxjs/cjs_app.cpp
+++ b/fxjs/cjs_app.cpp
@@ -13,6 +13,10 @@
#include "fxjs/ijs_event_context.h"
#include "fxjs/js_resources.h"
+#ifdef PDF_ENABLE_XFA
+#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h"
+#endif // PDF_ENABLE_XFA
+
namespace {
bool IsTypeKnown(v8::Local<v8::Value> value) {