summaryrefslogtreecommitdiff
path: root/fpdfsdk/fpdfview.cpp
diff options
context:
space:
mode:
authorthestig <thestig@chromium.org>2016-05-25 21:39:46 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-25 21:39:46 -0700
commit25fa42f398d1f8007aa36531e0436dc769817ad3 (patch)
treeb2c8d396fe70c324774ed5dce5f9c9fe204f9534 /fpdfsdk/fpdfview.cpp
parent818e1900a3811e1bde1e594e4966db612f845966 (diff)
downloadpdfium-25fa42f398d1f8007aa36531e0436dc769817ad3.tar.xz
Clean up fx_ge.h and IWYU.
Review-Url: https://codereview.chromium.org/2009253003
Diffstat (limited to 'fpdfsdk/fpdfview.cpp')
-rw-r--r--fpdfsdk/fpdfview.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp
index f483f7e4d5..0040c090f4 100644
--- a/fpdfsdk/fpdfview.cpp
+++ b/fpdfsdk/fpdfview.cpp
@@ -15,6 +15,7 @@
#include "core/fpdfapi/include/cpdf_modulemgr.h"
#include "core/fxcodec/include/fx_codec.h"
#include "core/fxcrt/include/fx_safe_types.h"
+#include "core/fxge/include/fx_ge.h"
#include "fpdfsdk/include/fsdk_define.h"
#include "fpdfsdk/include/fsdk_mgr.h"
#include "fpdfsdk/include/fsdk_rendercontext.h"
@@ -31,6 +32,10 @@
#include "public/fpdf_formfill.h"
#endif // PDF_ENABLE_XFA
+#if _FXM_PLATFORM_ == _FXM_PLATFORM_WINDOWS_
+#include "core/fxge/include/fx_ge_win32.h"
+#endif
+
UnderlyingDocumentType* UnderlyingFromFPDFDocument(FPDF_DOCUMENT doc) {
return static_cast<UnderlyingDocumentType*>(doc);
}