summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/xfa_ffpath.h
diff options
context:
space:
mode:
authordan sinclair <dsinclair@chromium.org>2017-02-04 10:16:21 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-02-04 15:43:04 +0000
commitaaf0bdc5bf420d08dfcbb049c4511c55eec0dd6c (patch)
tree275ffc37daf73cf61a25aef532f62a9f271b39bd /xfa/fxfa/app/xfa_ffpath.h
parent65c7c234d026101f69754f97f40e73eb29a3ef16 (diff)
downloadpdfium-aaf0bdc5bf420d08dfcbb049c4511c55eec0dd6c.tar.xz
Remove unused parameterchromium/3004
The pPageView parameter is always set to nullptr when creating XFA widgets. Change-Id: I4259ff7e523dc462242d2e37f0e2a919c5543035 Reviewed-on: https://pdfium-review.googlesource.com/2511 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpath.h')
-rw-r--r--xfa/fxfa/app/xfa_ffpath.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fxfa/app/xfa_ffpath.h b/xfa/fxfa/app/xfa_ffpath.h
index 71c45e323e..002f75d262 100644
--- a/xfa/fxfa/app/xfa_ffpath.h
+++ b/xfa/fxfa/app/xfa_ffpath.h
@@ -11,7 +11,7 @@
class CXFA_FFLine : public CXFA_FFDraw {
public:
- CXFA_FFLine(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
+ explicit CXFA_FFLine(CXFA_WidgetAcc* pDataAcc);
~CXFA_FFLine() override;
// CXFA_FFWidget
@@ -22,9 +22,10 @@ class CXFA_FFLine : public CXFA_FFDraw {
private:
void GetRectFromHand(CFX_RectF& rect, int32_t iHand, FX_FLOAT fLineWidth);
};
+
class CXFA_FFArc : public CXFA_FFDraw {
public:
- CXFA_FFArc(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
+ explicit CXFA_FFArc(CXFA_WidgetAcc* pDataAcc);
~CXFA_FFArc() override;
// CXFA_FFWidget
@@ -35,7 +36,7 @@ class CXFA_FFArc : public CXFA_FFDraw {
class CXFA_FFRectangle : public CXFA_FFDraw {
public:
- CXFA_FFRectangle(CXFA_FFPageView* pPageView, CXFA_WidgetAcc* pDataAcc);
+ explicit CXFA_FFRectangle(CXFA_WidgetAcc* pDataAcc);
~CXFA_FFRectangle() override;
// CXFA_FFWidget