From a1d344230925e94bbf43a62ddc814321056c68d5 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 24 Apr 2018 20:54:41 +0000 Subject: Fix include order for cpdfxfa_context.h It should include cpdfsdk_helpers, not the other way around. Change-Id: Id2cc3018e8c38f82ce8a35b03bb90e936aa1d446 Reviewed-on: https://pdfium-review.googlesource.com/31294 Reviewed-by: dsinclair Commit-Queue: Tom Sepez --- fpdfsdk/cpdfsdk_helpers.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'fpdfsdk/cpdfsdk_helpers.h') 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. -- cgit v1.2.3