summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_pageview.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-05-25 23:57:13 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-25 23:57:13 +0000
commit45a55241d315d25067582d29fcdc1ff8b818965f (patch)
treed47f5d37ac0df6ee7c7671bc5f8e2fa1cd03dc53 /fpdfsdk/cpdfsdk_pageview.h
parentca02733961f84abd562d59e4b6a83018ef41b143 (diff)
downloadpdfium-45a55241d315d25067582d29fcdc1ff8b818965f.tar.xz
Replace some ifdef PDF_ENABLE_XFA, part 3.chromium/3443chromium/3442
Always include a rect parameter. It is unused in the non-XFA case, but there is no need for ifdefs. Change-Id: If6229461d6b20ee8ea557a012f2dbf8ef9f6287e Reviewed-on: https://pdfium-review.googlesource.com/32835 Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_pageview.h')
-rw-r--r--fpdfsdk/cpdfsdk_pageview.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/fpdfsdk/cpdfsdk_pageview.h b/fpdfsdk/cpdfsdk_pageview.h
index afb200e43b..bfb6450ca8 100644
--- a/fpdfsdk/cpdfsdk_pageview.h
+++ b/fpdfsdk/cpdfsdk_pageview.h
@@ -26,16 +26,10 @@ class CPDFSDK_PageView final : public CPDF_Page::View {
UnderlyingPageType* page);
~CPDFSDK_PageView();
-#ifdef PDF_ENABLE_XFA
void PageView_OnDraw(CFX_RenderDevice* pDevice,
CFX_Matrix* pUser2Device,
CPDF_RenderOptions* pOptions,
const FX_RECT& pClip);
-#else // PDF_ENABLE_XFA
- void PageView_OnDraw(CFX_RenderDevice* pDevice,
- CFX_Matrix* pUser2Device,
- CPDF_RenderOptions* pOptions);
-#endif // PDF_ENABLE_XFA
void LoadFXAnnots();
CPDFSDK_Annot* GetFocusAnnot();