diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-02 13:27:54 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-02 13:27:54 -0800 |
commit | f0e2e1b09cf1ce0e537888a99f04be6f10edcada (patch) | |
tree | 84885b475c64237e2a26668c8a1b4f67421fc51d /fpdfsdk/include/fsdk_mgr.h | |
parent | bd55239e7825b8d10255093d8c3fa03b43620a98 (diff) | |
download | pdfium-f0e2e1b09cf1ce0e537888a99f04be6f10edcada.tar.xz |
XFA: Simplify CPDFSDK_PageView::PageView_OnDraw().
The clip parameter is never NULL.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1417983006 .
Diffstat (limited to 'fpdfsdk/include/fsdk_mgr.h')
-rw-r--r-- | fpdfsdk/include/fsdk_mgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/include/fsdk_mgr.h b/fpdfsdk/include/fsdk_mgr.h index 615b585b51..1c0a48ded5 100644 --- a/fpdfsdk/include/fsdk_mgr.h +++ b/fpdfsdk/include/fsdk_mgr.h @@ -537,7 +537,7 @@ class CPDFSDK_PageView final { void PageView_OnDraw(CFX_RenderDevice* pDevice, CPDF_Matrix* pUser2Device, CPDF_RenderOptions* pOptions, - FX_RECT* pClip = NULL); + const FX_RECT& pClip); const CPDF_Annot* GetPDFAnnotAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); CPDFSDK_Annot* GetFXAnnotAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); const CPDF_Annot* GetPDFWidgetAtPoint(FX_FLOAT pageX, FX_FLOAT pageY); |