From 0fdefc15d7697286a860c22a8ab50c99c8be6065 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 20 Feb 2018 17:02:59 +0000 Subject: Fix typo in method name FillSoildRect(). No behavior change. Bug: none Change-Id: I59a40e5d38d561da1ebf20a40feb3933f7fef14a Reviewed-on: https://pdfium-review.googlesource.com/27390 Commit-Queue: Nico Weber Commit-Queue: dsinclair Reviewed-by: dsinclair --- xfa/fwl/theme/cfwl_listboxtp.cpp | 6 +++--- xfa/fwl/theme/cfwl_widgettp.cpp | 4 ++-- xfa/fwl/theme/cfwl_widgettp.h | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'xfa/fwl') diff --git a/xfa/fwl/theme/cfwl_listboxtp.cpp b/xfa/fwl/theme/cfwl_listboxtp.cpp index 2a370650d7..e535112233 100644 --- a/xfa/fwl/theme/cfwl_listboxtp.cpp +++ b/xfa/fwl/theme/cfwl_listboxtp.cpp @@ -26,10 +26,10 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { break; } case CFWL_Part::Background: { - FillSoildRect(pParams->m_pGraphics, ArgbEncode(255, 255, 255, 255), + FillSolidRect(pParams->m_pGraphics, ArgbEncode(255, 255, 255, 255), &pParams->m_rtPart, &pParams->m_matrix); if (pParams->m_pData) { - FillSoildRect(pParams->m_pGraphics, FWLTHEME_COLOR_Background, + FillSolidRect(pParams->m_pGraphics, FWLTHEME_COLOR_Background, (CFX_RectF*)pParams->m_pData, &pParams->m_matrix); } break; @@ -46,7 +46,7 @@ void CFWL_ListBoxTP::DrawBackground(CFWL_ThemeBackground* pParams) { } else if (pParams->m_dwStates == CFWL_PartState_Normal) { color = 0xFF0000FF; } - FillSoildRect(pParams->m_pGraphics, color, &pParams->m_rtPart, + FillSolidRect(pParams->m_pGraphics, color, &pParams->m_rtPart, &pParams->m_matrix); break; } diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index 3113d24546..9cbed0cfc7 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -119,10 +119,10 @@ void CFWL_WidgetTP::DrawBorder(CXFA_Graphics* pGraphics, void CFWL_WidgetTP::FillBackground(CXFA_Graphics* pGraphics, const CFX_RectF* pRect, CFX_Matrix* pMatrix) { - FillSoildRect(pGraphics, FWLTHEME_COLOR_Background, pRect, pMatrix); + FillSolidRect(pGraphics, FWLTHEME_COLOR_Background, pRect, pMatrix); } -void CFWL_WidgetTP::FillSoildRect(CXFA_Graphics* pGraphics, +void CFWL_WidgetTP::FillSolidRect(CXFA_Graphics* pGraphics, FX_ARGB fillColor, const CFX_RectF* pRect, CFX_Matrix* pMatrix) { diff --git a/xfa/fwl/theme/cfwl_widgettp.h b/xfa/fwl/theme/cfwl_widgettp.h index 7813c0825c..503c85eaf2 100644 --- a/xfa/fwl/theme/cfwl_widgettp.h +++ b/xfa/fwl/theme/cfwl_widgettp.h @@ -60,7 +60,7 @@ class CFWL_WidgetTP { void FillBackground(CXFA_Graphics* pGraphics, const CFX_RectF* pRect, CFX_Matrix* pMatrix = nullptr); - void FillSoildRect(CXFA_Graphics* pGraphics, + void FillSolidRect(CXFA_Graphics* pGraphics, FX_ARGB fillColor, const CFX_RectF* pRect, CFX_Matrix* pMatrix = nullptr); -- cgit v1.2.3