summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-08-22 13:37:04 -0700
committerCommit bot <commit-bot@chromium.org>2016-08-22 13:37:04 -0700
commit9b99ebf5159d98cc83fb2e8ebac6750e158841d6 (patch)
treefd8fa25abf4be216e50d62dfce8cfc694efc3a97 /xfa/fxfa/app
parent28a4a2410f24910c709578d981cae3bb8153fdba (diff)
downloadpdfium-9b99ebf5159d98cc83fb2e8ebac6750e158841d6.tar.xz
Make CFX_Color constructor explicit
Change the places which require implicit construction, and make the construction from ARGB_Color explicit. Review-Url: https://codereview.chromium.org/2263923003
Diffstat (limited to 'xfa/fxfa/app')
-rw-r--r--xfa/fxfa/app/xfa_ffwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/xfa_ffwidget.cpp b/xfa/fxfa/app/xfa_ffwidget.cpp
index 446fcd6303..d5ffdee55e 100644
--- a/xfa/fxfa/app/xfa_ffwidget.cpp
+++ b/xfa/fxfa/app/xfa_ffwidget.cpp
@@ -1590,7 +1590,7 @@ static void XFA_BOX_Fill_Pattern(CXFA_Box box,
}
CFX_Pattern pattern(iHatch, crEnd, crStart);
- CFX_Color cr(&pattern);
+ CFX_Color cr(&pattern, 0x0);
pGS->SetFillColor(&cr);
pGS->FillPath(&fillPath, FXFILL_WINDING, pMatrix);
}