summaryrefslogtreecommitdiff
path: root/fpdfsdk/pwl/cpwl_scroll_bar.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-08-15 11:18:19 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-08-15 18:31:30 +0000
commit33c03005b8872b11f07afaba49e874f918aaa333 (patch)
treeda33c1190a924ea3d97dc7984b5a6c5aaa1d89ac /fpdfsdk/pwl/cpwl_scroll_bar.cpp
parent130bf6fc898e9ad42e3f63d90e400172de4fa65e (diff)
downloadpdfium-33c03005b8872b11f07afaba49e874f918aaa333.tar.xz
Remove default argument from CPWL_Wnd::InvalidateRect().
Change-Id: I529925b10fa43d4c9c6c9d398265d2ae7eccf93d Reviewed-on: https://pdfium-review.googlesource.com/10853 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_scroll_bar.cpp')
-rw-r--r--fpdfsdk/pwl/cpwl_scroll_bar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpdfsdk/pwl/cpwl_scroll_bar.cpp b/fpdfsdk/pwl/cpwl_scroll_bar.cpp
index 19e4bc8b5f..142988a815 100644
--- a/fpdfsdk/pwl/cpwl_scroll_bar.cpp
+++ b/fpdfsdk/pwl/cpwl_scroll_bar.cpp
@@ -428,7 +428,7 @@ bool CPWL_ScrollBar::OnLButtonDown(const CFX_PointF& point, uint32_t nFlag) {
if (HasFlag(PWS_AUTOTRANSPARENT)) {
if (GetTransparency() != 255) {
SetTransparency(255);
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}
@@ -479,7 +479,7 @@ bool CPWL_ScrollBar::OnLButtonUp(const CFX_PointF& point, uint32_t nFlag) {
if (HasFlag(PWS_AUTOTRANSPARENT)) {
if (GetTransparency() != PWL_SCROLLBAR_TRANSPARENCY) {
SetTransparency(PWL_SCROLLBAR_TRANSPARENCY);
- InvalidateRect();
+ InvalidateRect(nullptr);
}
}