summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffwidget.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-16 19:35:12 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-17 18:29:54 +0000
commit86224fc1f74a27c3448961c91e10d4e3feb427e4 (patch)
treef759d9a24e26ddbf54eaa3b62eedc7c35a46190f /xfa/fxfa/cxfa_ffwidget.cpp
parent9342b33ec0e2b43c0ee0b94bb70f2e981c263877 (diff)
downloadpdfium-86224fc1f74a27c3448961c91e10d4e3feb427e4.tar.xz
Remove default argument for CXFA_Graphics::SetLineWidth().
Change-Id: I6ea062bf5def0bc5fea7c52323198209dcf4c3e9 Reviewed-on: https://pdfium-review.googlesource.com/11110 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffwidget.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_ffwidget.cpp b/xfa/fxfa/cxfa_ffwidget.cpp
index c0eb0a3a0d..ee5a55e122 100644
--- a/xfa/fxfa/cxfa_ffwidget.cpp
+++ b/xfa/fxfa/cxfa_ffwidget.cpp
@@ -1676,7 +1676,8 @@ static void XFA_BOX_StrokePath(CXFA_Stroke stroke,
if (stroke.IsCorner() && fThickness > 2 * stroke.GetRadius()) {
fThickness = 2 * stroke.GetRadius();
}
- pGS->SetLineWidth(fThickness, true);
+ pGS->SetLineWidth(fThickness);
+ pGS->EnableActOnDash();
pGS->SetLineCap(CFX_GraphStateData::LineCapButt);
XFA_StrokeTypeSetLineDash(pGS, stroke.GetStrokeType(),
XFA_ATTRIBUTEENUM_Butt);