diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:41:04 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-05 16:41:04 -0800 |
commit | d794d34b5deb6ad691c19af758090f9ce46015a3 (patch) | |
tree | 2cf3a108d472bf8ef6989e6883aa553dd6ba0afe /fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp | |
parent | dbfaa8d11404a53b4807b3dbd0185047367bbff6 (diff) | |
download | pdfium-d794d34b5deb6ad691c19af758090f9ce46015a3.tar.xz |
Remove header files that only have includes.
Also do some cleanups in affected files.
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1552583002 .
Diffstat (limited to 'fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp')
-rw-r--r-- | fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp b/fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp index b6a1bb3e6e..c48052da9a 100644 --- a/fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp +++ b/fpdfsdk/src/pdfwindow/PWL_ScrollBar.cpp @@ -4,7 +4,6 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "fpdfsdk/include/pdfwindow/PDFWindow.h" #include "fpdfsdk/include/pdfwindow/PWL_ScrollBar.h" #include "fpdfsdk/include/pdfwindow/PWL_Utils.h" #include "fpdfsdk/include/pdfwindow/PWL_Wnd.h" @@ -610,8 +609,9 @@ void CPWL_ScrollBar::RePosChildWnd() { rcClient.left + fBWidth, rcClient.top); rcMaxButton = CPDF_Rect(rcClient.right - fBWidth, rcClient.bottom, rcClient.right, rcClient.top); - } else + } else { SetVisible(FALSE); + } } break; case SBT_VSCROLL: @@ -633,8 +633,9 @@ void CPWL_ScrollBar::RePosChildWnd() { rcClient.right, rcClient.top); rcMaxButton = CPDF_Rect(rcClient.left, rcClient.bottom, rcClient.right, rcClient.bottom + fBWidth); - } else + } else { SetVisible(FALSE); + } } break; } |