diff options
Diffstat (limited to 'xfa/fwl/cfwl_scrollbar.h')
-rw-r--r-- | xfa/fwl/cfwl_scrollbar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fwl/cfwl_scrollbar.h b/xfa/fwl/cfwl_scrollbar.h index b2523a6e15..de394ed96d 100644 --- a/xfa/fwl/cfwl_scrollbar.h +++ b/xfa/fwl/cfwl_scrollbar.h @@ -10,6 +10,7 @@ #include <memory> #include "core/fxcrt/fx_system.h" +#include "core/fxcrt/unowned_ptr.h" #include "xfa/fwl/cfwl_eventscroll.h" #include "xfa/fwl/cfwl_timer.h" #include "xfa/fwl/cfwl_widget.h" @@ -109,7 +110,7 @@ class CFWL_ScrollBar : public CFWL_Widget { void DoMouseLeave(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); void DoMouseHover(int32_t iItem, const CFX_RectF& rtItem, int32_t& iState); - CFWL_TimerInfo* m_pTimerInfo; + UnownedPtr<CFWL_TimerInfo> m_pTimerInfo; float m_fRangeMin; float m_fRangeMax; float m_fPageSize; |