summaryrefslogtreecommitdiff
path: root/xfa/fwl/theme
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2018-02-20 17:02:59 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-20 17:02:59 +0000
commit0fdefc15d7697286a860c22a8ab50c99c8be6065 (patch)
tree1eb9adea061cd02404b2b790e62c3e10745adda3 /xfa/fwl/theme
parent8c0a80087c42895b2b3fd899117df873fb96acbf (diff)
downloadpdfium-0fdefc15d7697286a860c22a8ab50c99c8be6065.tar.xz
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 <thakis@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/theme')
-rw-r--r--xfa/fwl/theme/cfwl_listboxtp.cpp6
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.cpp4
-rw-r--r--xfa/fwl/theme/cfwl_widgettp.h2
3 files changed, 6 insertions, 6 deletions
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);