summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffpushbutton.cpp
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-11-10 19:22:24 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-10 19:22:24 +0000
commit267d2a862fd9ec7bc722533914e8e5af8a19df26 (patch)
tree1b913d9b1f0c6ab4c3ce7436477a009b7f429f73 /xfa/fxfa/cxfa_ffpushbutton.cpp
parentc7056ca0027eb34ed9abf31338c4cd2ffff40528 (diff)
downloadpdfium-267d2a862fd9ec7bc722533914e8e5af8a19df26.tar.xz
Cleanup public methods of CXFA_TextLayout
Change-Id: I532c3d7b76b650bbc262925b6a4a26f596a16814 Reviewed-on: https://pdfium-review.googlesource.com/18331 Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffpushbutton.cpp')
-rw-r--r--xfa/fxfa/cxfa_ffpushbutton.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fxfa/cxfa_ffpushbutton.cpp b/xfa/fxfa/cxfa_ffpushbutton.cpp
index fbadfcecd2..c966cdacfd 100644
--- a/xfa/fxfa/cxfa_ffpushbutton.cpp
+++ b/xfa/fxfa/cxfa_ffpushbutton.cpp
@@ -182,15 +182,15 @@ void CXFA_FFPushButton::RenderHighlightCaption(CXFA_Graphics* pGS,
uint32_t dwState = m_pNormalWidget->GetStates();
if (m_pDownTextLayout && (dwState & FWL_STATE_PSB_Pressed) &&
(dwState & FWL_STATE_PSB_Hovered)) {
- if (m_pDownTextLayout->DrawString(pRenderDevice, mt, rtClip))
+ if (m_pDownTextLayout->DrawString(pRenderDevice, mt, rtClip, 0))
return;
} else if (m_pRolloverTextLayout && (dwState & FWL_STATE_PSB_Hovered)) {
- if (m_pRolloverTextLayout->DrawString(pRenderDevice, mt, rtClip))
+ if (m_pRolloverTextLayout->DrawString(pRenderDevice, mt, rtClip, 0))
return;
}
if (pCapTextLayout)
- pCapTextLayout->DrawString(pRenderDevice, mt, rtClip);
+ pCapTextLayout->DrawString(pRenderDevice, mt, rtClip, 0);
}
void CXFA_FFPushButton::OnProcessMessage(CFWL_Message* pMessage) {