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

Issue 2094453004: Use some FXSYS methods instead of duplicating (Closed)

Created:
4 years, 6 months ago by dsinclair
Modified:
4 years, 6 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

Use some FXSYS methods instead of duplicating This CL uses the FXSYS_isDecimalDigit in place of a few custom IsDigit methods. It also creates an iswspace and some fractional math helper methods to share some code. Committed: https://pdfium.googlesource.com/pdfium/+/ce56557ef58facf2519f541d5cad33ea121b4c21

Patch Set 1 #

Total comments: 3

Patch Set 2 : Review cleanup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -138 lines) Patch
M core/fxcrt/fx_basic_util.cpp View 2 chunks +15 lines, -6 lines 0 comments Download
M core/fxcrt/include/fx_ext.h View 2 chunks +6 lines, -0 lines 0 comments Download
M xfa/fgas/localization/fgas_locale.cpp View 1 55 chunks +79 lines, -96 lines 0 comments Download
M xfa/fxfa/parser/cxfa_data.cpp View 4 chunks +7 lines, -6 lines 0 comments Download
M xfa/fxfa/parser/cxfa_widgetdata.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/parser/xfa_localevalue.cpp View 20 chunks +22 lines, -19 lines 0 comments Download
M xfa/fxfa/parser/xfa_utils.h View 1 chunk +1 line, -7 lines 0 comments Download
M xfa/fxfa/parser/xfa_utils_imp.cpp View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
dsinclair
PTAL. https://codereview.chromium.org/2094453004/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (right): https://codereview.chromium.org/2094453004/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#newcode19 xfa/fxfa/parser/xfa_localevalue.cpp:19: static const FX_DOUBLE fraction_scales[] = {0.1, This one ...
4 years, 6 months ago (2016-06-23 20:33:18 UTC) #2
Lei Zhang
lgtm https://codereview.chromium.org/2094453004/diff/1/xfa/fgas/localization/fgas_locale.cpp File xfa/fgas/localization/fgas_locale.cpp (right): https://codereview.chromium.org/2094453004/diff/1/xfa/fgas/localization/fgas_locale.cpp#newcode144 xfa/fgas/localization/fgas_locale.cpp:144: else no need, ditto for line 170
4 years, 6 months ago (2016-06-23 20:42:09 UTC) #3
dsinclair
https://codereview.chromium.org/2094453004/diff/1/xfa/fgas/localization/fgas_locale.cpp File xfa/fgas/localization/fgas_locale.cpp (right): https://codereview.chromium.org/2094453004/diff/1/xfa/fgas/localization/fgas_locale.cpp#newcode144 xfa/fgas/localization/fgas_locale.cpp:144: else On 2016/06/23 20:42:08, Lei Zhang (Slow) wrote: > ...
4 years, 6 months ago (2016-06-23 20:45:48 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2094453004/20001
4 years, 6 months ago (2016-06-23 20:46:19 UTC) #7
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 21:00:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/ce56557ef58facf2519f541d5cad33ea121b...

Powered by Google App Engine
This is Rietveld 408576698