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

Issue 1951653002: Return bool rather than bitwise-and for FX_BOOL (Closed)

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

Description

Return bool rather than bitwise-and for FX_BOOL Investigate results of: git grep -ni 'return [(]*[a-z0-9_]* &[^&]' git grep -ni 'BOOL.*= [(]*[a-z0-9_]* &[^&]' Committed: https://pdfium.googlesource.com/pdfium/+/7d89e728a450c681c53d40d7f67ee2eef0400705

Patch Set 1 #

Patch Set 2 : missed one. #

Patch Set 3 : Second batch. #

Patch Set 4 : One more. #

Patch Set 5 : Manual tidy #

Total comments: 20

Patch Set 6 : More bool, fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -71 lines) Patch
M core/fpdfapi/fpdf_render/fpdf_render.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_image.cpp View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M core/fxcrt/extension.h View 1 1 chunk +1 line, -1 line 0 comments Download
M core/fxge/ge/fx_ge_text.cpp View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/basewidget/fwl_comboboximp.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M xfa/fwl/basewidget/fwl_editimp.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/basewidget/fwl_listboximp.cpp View 1 2 3 4 5 1 chunk +2 lines, -5 lines 0 comments Download
M xfa/fwl/core/fwl_formimp.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/core/fwl_noteimp.cpp View 1 2 3 4 1 chunk +18 lines, -38 lines 0 comments Download
M xfa/fwl/core/fwl_widgetmgrimp.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M xfa/fwl/core/fwl_widgetmgrimp.cpp View 1 2 3 4 5 1 chunk +6 lines, -3 lines 0 comments Download
M xfa/fwl/theme/cfwl_checkboxtp.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/app/xfa_ffwidget.cpp View 1 2 3 4 5 3 chunks +10 lines, -6 lines 0 comments Download
M xfa/fxfa/include/xfa_ffwidget.h View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fxfa/parser/xfa_document_imp.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
Tom Sepez
Dan, quick review. I saw one of these near another change, and I wanted to ...
4 years, 7 months ago (2016-05-03 22:51:33 UTC) #2
dsinclair
https://codereview.chromium.org/1951653002/diff/80001/core/fpdfapi/fpdf_render/fpdf_render.cpp File core/fpdfapi/fpdf_render/fpdf_render.cpp (right): https://codereview.chromium.org/1951653002/diff/80001/core/fpdfapi/fpdf_render/fpdf_render.cpp#newcode753 core/fpdfapi/fpdf_render/fpdf_render.cpp:753: FX_BOOL isolated = !!(Transparency & PDFTRANS_ISOLATED); nit: bool https://codereview.chromium.org/1951653002/diff/80001/core/fpdfapi/fpdf_render/fpdf_render_image.cpp ...
4 years, 7 months ago (2016-05-04 13:11:51 UTC) #4
Tom Sepez
https://codereview.chromium.org/1951653002/diff/80001/core/fpdfapi/fpdf_render/fpdf_render.cpp File core/fpdfapi/fpdf_render/fpdf_render.cpp (right): https://codereview.chromium.org/1951653002/diff/80001/core/fpdfapi/fpdf_render/fpdf_render.cpp#newcode753 core/fpdfapi/fpdf_render/fpdf_render.cpp:753: FX_BOOL isolated = !!(Transparency & PDFTRANS_ISOLATED); On 2016/05/04 13:11:50, ...
4 years, 7 months ago (2016-05-04 20:21:26 UTC) #5
dsinclair
lgtm
4 years, 7 months ago (2016-05-04 20:25:46 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1951653002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1951653002/100001
4 years, 7 months ago (2016-05-04 20:25:50 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 20:38:15 UTC) #10
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://pdfium.googlesource.com/pdfium/+/7d89e728a450c681c53d40d7f67ee2eef040...

Powered by Google App Engine
This is Rietveld 408576698