diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-02-23 09:59:05 -0500 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-02-23 15:26:17 +0000 |
commit | fc54e054811510c3d7c8a9c6af6c90c3222c7029 (patch) | |
tree | 98025207bd4d1f397be489fe54c42b148cf40137 /fpdfsdk/pdfwindow/PWL_ComboBox.cpp | |
parent | a0061afa12e0fec210727c9478adb8ac78c5d63c (diff) | |
download | pdfium-fc54e054811510c3d7c8a9c6af6c90c3222c7029.tar.xz |
Cleanup PWL_Utils.
This CL removes unused methods, moves methods to correct files and removes
unused defines.
Change-Id: I5087869b451e57d5325831814f0fa1c7f222cf4d
Reviewed-on: https://pdfium-review.googlesource.com/2823
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 'fpdfsdk/pdfwindow/PWL_ComboBox.cpp')
-rw-r--r-- | fpdfsdk/pdfwindow/PWL_ComboBox.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/fpdfsdk/pdfwindow/PWL_ComboBox.cpp b/fpdfsdk/pdfwindow/PWL_ComboBox.cpp index b9e96b2bf1..bc6909a07d 100644 --- a/fpdfsdk/pdfwindow/PWL_ComboBox.cpp +++ b/fpdfsdk/pdfwindow/PWL_ComboBox.cpp @@ -153,9 +153,8 @@ void CPWL_CBButton::DrawThisAppearance(CFX_RenderDevice* pDevice, path.AppendPoint(pt1, FXPT_TYPE::LineTo, false); pDevice->DrawPath(&path, pUser2Device, nullptr, - CPWL_Utils::PWLColorToFXColor(PWL_DEFAULT_BLACKCOLOR, - GetTransparency()), - 0, FXFILL_ALTERNATE); + PWL_DEFAULT_BLACKCOLOR.ToFXColor(GetTransparency()), 0, + FXFILL_ALTERNATE); } } } |