diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-09-17 18:25:32 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-09-17 18:25:32 +0000 |
commit | cb798258c433bec7087948fcbfff14d1e7683006 (patch) | |
tree | bc873a405dbfe7c957d75a1748acce11c7f473e7 /fpdfsdk/pwl | |
parent | c5709dd345c748016a637b2104544895223f8fc7 (diff) | |
download | pdfium-cb798258c433bec7087948fcbfff14d1e7683006.tar.xz |
Fix final/protected conflicts.
Classes marked |final| should not have |protected| members. In turn,
"private field m_dwEncryptObjNum is not used" warning is produced.
Change-Id: I51a96aca5a5f499381a6764d892962f7f2dc0327
Reviewed-on: https://pdfium-review.googlesource.com/42611
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl')
-rw-r--r-- | fpdfsdk/pwl/cpwl_scroll_bar.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fpdfsdk/pwl/cpwl_scroll_bar.h b/fpdfsdk/pwl/cpwl_scroll_bar.h index 0b63bf224d..a61c04d019 100644 --- a/fpdfsdk/pwl/cpwl_scroll_bar.h +++ b/fpdfsdk/pwl/cpwl_scroll_bar.h @@ -57,10 +57,9 @@ class CPWL_SBButton final : public CPWL_Wnd { bool OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) override; bool OnMouseMove(const CFX_PointF& point, uint32_t nFlag) override; - protected: + private: PWL_SCROLLBAR_TYPE m_eScrollBarType; PWL_SBBUTTON_TYPE m_eSBButtonType; - bool m_bMouseDown; }; @@ -142,7 +141,7 @@ class CPWL_ScrollBar final : public CPWL_Wnd { void SetNotifyForever(bool bForever) { m_bNotifyForever = bForever; } - protected: + private: void SetScrollRange(float fMin, float fMax, float fClientWidth); void SetScrollPos(float fPos); @@ -152,7 +151,6 @@ class CPWL_ScrollBar final : public CPWL_Wnd { void NotifyScrollWindow(); CFX_FloatRect GetScrollArea() const; - private: void CreateButtons(const CreateParams& cp); void OnMinButtonLBDown(const CFX_PointF& point); |