summaryrefslogtreecommitdiff
path: root/fpdfsdk/cpdfsdk_widgethandler.cpp
diff options
context:
space:
mode:
authorjaepark <jaepark@google.com>2016-09-01 14:39:24 -0700
committerCommit bot <commit-bot@chromium.org>2016-09-01 14:39:24 -0700
commit4bae296c1eee7a1ecae8bab3d59dd9430218f730 (patch)
tree159d3dba32294d424892e7d8f6334e6cb37e4654 /fpdfsdk/cpdfsdk_widgethandler.cpp
parente0cb687c71d555b55cc30ec59c9b338a0e83f77f (diff)
downloadpdfium-4bae296c1eee7a1ecae8bab3d59dd9430218f730.tar.xz
Remove unused dwFlags parameter in CPDFSDK_AnnotHandlerMgr::OnDraw and its calls.
Review-Url: https://codereview.chromium.org/2305443005
Diffstat (limited to 'fpdfsdk/cpdfsdk_widgethandler.cpp')
-rw-r--r--fpdfsdk/cpdfsdk_widgethandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/cpdfsdk_widgethandler.cpp b/fpdfsdk/cpdfsdk_widgethandler.cpp
index 77e14f0404..5d459ee2d5 100644
--- a/fpdfsdk/cpdfsdk_widgethandler.cpp
+++ b/fpdfsdk/cpdfsdk_widgethandler.cpp
@@ -92,14 +92,13 @@ void CPDFSDK_WidgetHandler::DeleteAnnot(CPDFSDK_Annot* pAnnot) {}
void CPDFSDK_WidgetHandler::OnDraw(CPDFSDK_PageView* pPageView,
CPDFSDK_Annot* pAnnot,
CFX_RenderDevice* pDevice,
- CFX_Matrix* pUser2Device,
- uint32_t dwFlags) {
+ CFX_Matrix* pUser2Device) {
if (pAnnot->IsSignatureWidget()) {
static_cast<CPDFSDK_BAAnnot*>(pAnnot)->DrawAppearance(
pDevice, pUser2Device, CPDF_Annot::Normal, nullptr);
} else {
if (m_pFormFiller)
- m_pFormFiller->OnDraw(pPageView, pAnnot, pDevice, pUser2Device, dwFlags);
+ m_pFormFiller->OnDraw(pPageView, pAnnot, pDevice, pUser2Device);
}
}