diff options
author | weili <weili@chromium.org> | 2016-08-22 13:37:04 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-08-22 13:37:04 -0700 |
commit | 9b99ebf5159d98cc83fb2e8ebac6750e158841d6 (patch) | |
tree | fd8fa25abf4be216e50d62dfce8cfc694efc3a97 /xfa/fwl/theme/cfwl_widgettp.cpp | |
parent | 28a4a2410f24910c709578d981cae3bb8153fdba (diff) | |
download | pdfium-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/fwl/theme/cfwl_widgettp.cpp')
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index b5658cf7b2..a1b458cb41 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -274,7 +274,7 @@ void CFWL_WidgetTP::DrawEdge(CFX_Graphics* pGraphics, pRect->height - 1); pGraphics->StrokePath(&path, pMatrix); path.Clear(); - crStroke = ArgbEncode(255, 255, 255, 255); + crStroke.Set(ArgbEncode(255, 255, 255, 255)); pGraphics->SetStrokeColor(&crStroke); path.AddRectangle(pRect->left + 1, pRect->top + 1, pRect->width - 3, pRect->height - 3); |