summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_helpers.h
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.h
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.h')
-rw-r--r--fpdfsdk/cpdfsdk_helpers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.h b/fpdfsdk/cpdfsdk_helpers.h
index a5e03292a0..a9708ccddb 100644
--- a/fpdfsdk/cpdfsdk_helpers.h
+++ b/fpdfsdk/cpdfsdk_helpers.h
@@ -14,7 +14,7 @@
#include "public/fpdfview.h"
#ifdef PDF_ENABLE_XFA
-#include "fpdfsdk/fpdfxfa/cpdfxfa_context.h"
+#include "core/fxcrt/fx_stream.h"
#endif // PDF_ENABLE_XFA
#ifdef _WIN32
@@ -31,6 +31,11 @@ class CPDF_Stream;
class IPDFSDK_PauseAdapter;
class FX_PATHPOINT;
+#ifdef PDF_ENABLE_XFA
+class CPDFXFA_Context;
+class CPDFXFA_Page;
+#endif // PDF_ENABLE_XFA
+
// Object types for public FPDF_ types; these correspond to next layer down
// from fpdfsdk. For master, these are CPDF_ types, but for XFA, these are
// CPDFXFA_ types.