diff options
author | tsepez <tsepez@chromium.org> | 2016-11-02 15:43:18 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-02 15:43:19 -0700 |
commit | d19e912dd469e4bdad9f3020e1f6eb98f10f3470 (patch) | |
tree | 239cb568a80445f14a1ab9b63dcaaddcce67e1cc /xfa/fwl/core/ifwl_caret.cpp | |
parent | 12f3e4a58f05850b93af35619cb04f0231d86acc (diff) | |
download | pdfium-d19e912dd469e4bdad9f3020e1f6eb98f10f3470.tar.xz |
Remove FX_BOOL from xfa.
Review-Url: https://codereview.chromium.org/2467203003
Diffstat (limited to 'xfa/fwl/core/ifwl_caret.cpp')
-rw-r--r-- | xfa/fwl/core/ifwl_caret.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xfa/fwl/core/ifwl_caret.cpp b/xfa/fwl/core/ifwl_caret.cpp index 94b56e8cf9..4e9b7f64b5 100644 --- a/xfa/fwl/core/ifwl_caret.cpp +++ b/xfa/fwl/core/ifwl_caret.cpp @@ -20,7 +20,7 @@ IFWL_Caret::IFWL_Caret(const IFWL_App* app, m_pTimer(new IFWL_Caret::Timer(this)), m_pTimerInfo(nullptr), m_dwElapse(400), - m_bSetColor(FALSE) { + m_bSetColor(false) { SetStates(FWL_STATE_CAT_HightLight); } @@ -48,7 +48,7 @@ FWL_Error IFWL_Caret::DrawWidget(CFX_Graphics* pGraphics, return FWL_Error::Succeeded; } -void IFWL_Caret::ShowCaret(FX_BOOL bFlag) { +void IFWL_Caret::ShowCaret(bool bFlag) { if (m_pTimerInfo) { m_pTimerInfo->StopTimer(); m_pTimerInfo = nullptr; @@ -70,7 +70,7 @@ FWL_Error IFWL_Caret::SetFrequency(uint32_t elapse) { } FWL_Error IFWL_Caret::SetColor(CFX_Color crFill) { - m_bSetColor = TRUE; + m_bSetColor = true; m_crFill = crFill; return FWL_Error::Succeeded; } |