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

Issue 2452123002: Avoid some FX_BOOL/bool noise in fx_codec_fax.cpp (Closed)

Created:
4 years, 1 month ago by Tom Sepez
Modified:
4 years, 1 month ago
Reviewers:
npm, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Avoid some FX_BOOL/bool noise in fx_codec_fax.cpp NEXTBIT() is particularly pernicious in that it isn't syntactically an expression, but rather two expressions. Replace it with an inline along the way. Committed: https://pdfium.googlesource.com/pdfium/+/1842be87408b06bf0b4c521044c09452caac5c80

Patch Set 1 #

Patch Set 2 : remove locals #

Patch Set 3 : Even simpler #

Patch Set 4 : remove local #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -21 lines) Patch
M core/fxcodec/codec/fx_codec_fax.cpp View 1 2 3 6 chunks +15 lines, -21 lines 0 comments Download

Messages

Total messages: 20 (15 generated)
Tom Sepez
npm, see https://build.chromium.org/p/tryserver.client.pdfium/builders/win_xfa/builds/2598/steps/compile%20with%20ninja/logs/stdio for context on how this blocks fx_bool conversion.
4 years, 1 month ago (2016-10-26 16:25:56 UTC) #5
npm
lgtm. You could also change the FX_BOOL to bool right away. Not sure how long ...
4 years, 1 month ago (2016-10-26 17:17:58 UTC) #14
Tom Sepez
On 2016/10/26 17:17:58, npm wrote: > lgtm. You could also change the FX_BOOL to bool ...
4 years, 1 month ago (2016-10-26 17:27:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2452123002/60001
4 years, 1 month ago (2016-10-26 17:28:16 UTC) #18
commit-bot: I haz the power
4 years, 1 month ago (2016-10-26 17:50:54 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/1842be87408b06bf0b4c521044c09452caac...

Powered by Google App Engine
This is Rietveld 408576698