From 9b99ebf5159d98cc83fb2e8ebac6750e158841d6 Mon Sep 17 00:00:00 2001 From: weili Date: Mon, 22 Aug 2016 13:37:04 -0700 Subject: 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 --- xfa/fxfa/app/xfa_ffwidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xfa/fxfa/app/xfa_ffwidget.cpp') 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); } -- cgit v1.2.3