Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Issue 2002643003: Fix a bug on scrollbar's checking theme states (Closed)

Created:
4 years, 7 months ago by Wei Li
Modified:
4 years, 7 months ago
Reviewers:
Lei Zhang, Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix a bug on scrollbar's checking theme states The current switch statement will never execute any branch other than falling to default. The intention should be checking on the specific state bits. BUG=613623, 427616 Committed: https://pdfium.googlesource.com/pdfium/+/dc3ccdfb49c4d533d524d2084a7ebe5117f35934

Patch Set 1 #

Total comments: 2

Patch Set 2 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -14 lines) Patch
M xfa/fwl/theme/cfwl_scrollbartp.cpp View 1 1 chunk +6 lines, -14 lines 0 comments Download

Messages

Total messages: 12 (6 generated)
Wei Li
for review, thanks
4 years, 7 months ago (2016-05-20 19:47:25 UTC) #3
Tom Sepez
https://codereview.chromium.org/2002643003/diff/1/xfa/fwl/theme/cfwl_scrollbartp.cpp File xfa/fwl/theme/cfwl_scrollbartp.cpp (right): https://codereview.chromium.org/2002643003/diff/1/xfa/fwl/theme/cfwl_scrollbartp.cpp#newcode54 xfa/fwl/theme/cfwl_scrollbartp.cpp:54: switch (pParams->m_dwStates & Switching on flags seems wrong, what ...
4 years, 7 months ago (2016-05-20 20:14:10 UTC) #4
Wei Li
thanks https://codereview.chromium.org/2002643003/diff/1/xfa/fwl/theme/cfwl_scrollbartp.cpp File xfa/fwl/theme/cfwl_scrollbartp.cpp (right): https://codereview.chromium.org/2002643003/diff/1/xfa/fwl/theme/cfwl_scrollbartp.cpp#newcode54 xfa/fwl/theme/cfwl_scrollbartp.cpp:54: switch (pParams->m_dwStates & On 2016/05/20 20:14:10, Tom Sepez ...
4 years, 7 months ago (2016-05-20 20:54:31 UTC) #5
Tom Sepez
lgtm
4 years, 7 months ago (2016-05-20 20:57:29 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002643003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2002643003/20001
4 years, 7 months ago (2016-05-20 21:29:34 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 22:16:22 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/dc3ccdfb49c4d533d524d2084a7ebe5117f3...

Powered by Google App Engine
This is Rietveld 408576698