diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-03-05 18:25:00 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-03-05 18:25:00 +0000 |
commit | 31e08d1d6db10d22c1ba9f3f68773f8a88f05e3b (patch) | |
tree | d8c35d34cfc8e6b1e1ea2a98829e2b95eb2409e5 /xfa/fwl | |
parent | 8b1f7deec85520d0a5fd0c1dd322516cad981f07 (diff) | |
download | pdfium-31e08d1d6db10d22c1ba9f3f68773f8a88f05e3b.tar.xz |
Cleanup CFWL_ScrollBar::Timer::Run.
Change-Id: Icd76a6a98a66c977e45ed82663b68f6b05479e76
Reviewed-on: https://pdfium-review.googlesource.com/27891
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fwl')
-rw-r--r-- | xfa/fwl/cfwl_scrollbar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fwl/cfwl_scrollbar.cpp b/xfa/fwl/cfwl_scrollbar.cpp index a65d04e1a4..26c367a831 100644 --- a/xfa/fwl/cfwl_scrollbar.cpp +++ b/xfa/fwl/cfwl_scrollbar.cpp @@ -486,10 +486,10 @@ void CFWL_ScrollBar::DoMouseHover(int32_t iItem, CFWL_ScrollBar::Timer::Timer(CFWL_ScrollBar* pToolTip) : CFWL_Timer(pToolTip) {} void CFWL_ScrollBar::Timer::Run(CFWL_TimerInfo* pTimerInfo) { - CFWL_ScrollBar* pButton = static_cast<CFWL_ScrollBar*>(m_pWidget.Get()); - if (pButton->m_pTimerInfo) - pButton->m_pTimerInfo->StopTimer(); + CFWL_ScrollBar* pScrollBar = static_cast<CFWL_ScrollBar*>(m_pWidget.Get()); + if (pScrollBar->m_pTimerInfo) + pScrollBar->m_pTimerInfo->StopTimer(); - if (!pButton->SendEvent()) - pButton->m_pTimerInfo = StartTimer(0, true); + if (!pScrollBar->SendEvent()) + pScrollBar->m_pTimerInfo = StartTimer(0, true); } |