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

Issue 2296193002: Use CheckedNumeric for strength calculation. (Closed)

Created:
4 years, 3 months ago by dsinclair
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang, Wei Li
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Use CheckedNumeric for strength calculation. Update the calculation of the outlines bold strength to use a CheckedNum instead of an int. BUG=chromium:639506 Committed: https://pdfium.googlesource.com/pdfium/+/07146149674c61eaecf55cdfe6cdf7c31bbf0550

Patch Set 1 #

Total comments: 4

Patch Set 2 : review feedback #

Patch Set 3 : Fix operation order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -13 lines) Patch
M core/fxge/ge/cfx_facecache.cpp View 1 2 2 chunks +12 lines, -13 lines 0 comments Download

Messages

Total messages: 23 (16 generated)
dsinclair
PTAL.
4 years, 3 months ago (2016-08-31 15:50:10 UTC) #6
Wei Li
https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp File core/fxge/ge/cfx_facecache.cpp (right): https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp#newcode157 core/fxge/ge/cfx_facecache.cpp:157: FT_Pos level = 0; This may not work on ...
4 years, 3 months ago (2016-08-31 16:59:37 UTC) #7
Lei Zhang
https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp File core/fxge/ge/cfx_facecache.cpp (right): https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp#newcode165 core/fxge/ge/cfx_facecache.cpp:165: static_cast<FT_Pos>(FXSYS_abs(static_cast<int>(ft_matrix.xx)) + BTW, can we combine the similar portions ...
4 years, 3 months ago (2016-08-31 17:34:27 UTC) #8
dsinclair
https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp File core/fxge/ge/cfx_facecache.cpp (right): https://codereview.chromium.org/2296193002/diff/1/core/fxge/ge/cfx_facecache.cpp#newcode157 core/fxge/ge/cfx_facecache.cpp:157: FT_Pos level = 0; On 2016/08/31 16:59:37, Wei Li ...
4 years, 3 months ago (2016-08-31 18:19:42 UTC) #11
Wei Li
lgtm
4 years, 3 months ago (2016-08-31 20:01:42 UTC) #18
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/2296193002/40001
4 years, 3 months ago (2016-08-31 20:17:57 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 20:18:18 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/07146149674c61eaecf55cdfe6cdf7c31bbf...

Powered by Google App Engine
This is Rietveld 408576698