diff options
author | dsinclair <dsinclair@chromium.org> | 2016-12-07 17:23:28 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-07 17:23:28 -0800 |
commit | 7fa190dbda7b3a5f46b8108aa7984b2fcc23d45c (patch) | |
tree | 334c92bc076724892ca6cfe96767f0e5ed841ca1 /xfa/fxfa/app/xfa_ffpushbutton.cpp | |
parent | 919c0842b74d382e7ae60c85ff16642b646afbb9 (diff) | |
download | pdfium-7fa190dbda7b3a5f46b8108aa7984b2fcc23d45c.tar.xz |
Cleanup default FWL params part I
This Cl removes some of the default FWL parameters.
Review-Url: https://codereview.chromium.org/2533623002
Diffstat (limited to 'xfa/fxfa/app/xfa_ffpushbutton.cpp')
-rw-r--r-- | xfa/fxfa/app/xfa_ffpushbutton.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp index df093a0b30..a26714aac3 100644 --- a/xfa/fxfa/app/xfa_ffpushbutton.cpp +++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp @@ -215,7 +215,7 @@ void CXFA_FFPushButton::OnDrawWidget(CFX_Graphics* pGraphics, if ((m_pNormalWidget->GetStates() & FWL_STATE_PSB_Pressed) && (m_pNormalWidget->GetStates() & FWL_STATE_PSB_Hovered)) { CFX_RectF rtFill; - m_pNormalWidget->GetWidgetRect(rtFill); + m_pNormalWidget->GetWidgetRect(rtFill, false); rtFill.left = rtFill.top = 0; FX_FLOAT fLineWith = GetLineWidth(); rtFill.Deflate(fLineWith, fLineWith); @@ -237,7 +237,7 @@ void CXFA_FFPushButton::OnDrawWidget(CFX_Graphics* pGraphics, CFX_Path path; path.Create(); CFX_RectF rect; - m_pNormalWidget->GetWidgetRect(rect); + m_pNormalWidget->GetWidgetRect(rect, false); path.AddRectangle(0, 0, rect.width, rect.height); pGraphics->StrokePath(&path, (CFX_Matrix*)pMatrix); } |