summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_scrollbar.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-07-03 17:18:35 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-03 17:18:35 +0000
commit931a6b9c253f161f8016064eee601cd238ed246f (patch)
treea34858792d190b86502379698f8c1344bb13a208 /xfa/fwl/cfwl_scrollbar.h
parentbc7e310b027809562eb589bfef72737c193ee27a (diff)
downloadpdfium-931a6b9c253f161f8016064eee601cd238ed246f.tar.xz
Use UnownedPtr<> in cfwl_scrollbar.h and cfwl_themebackground.h
Change-Id: Ib65197a9cd9de173de8e77db168dcfbb43669022 Reviewed-on: https://pdfium-review.googlesource.com/36911 Commit-Queue: dsinclair <dsinclair@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_scrollbar.h')
-rw-r--r--xfa/fwl/cfwl_scrollbar.h3
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;