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

Issue 1783023002: Re-enable MSVC warning 4800 for compiling with chromium_code (Closed)

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

Description

Re-enable MSVC warning 4800 for compiling with chromium_code Mainly change the code to avoid the warnings; in a few cases we have to use explicit casts. BUG=pdfium:29 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/97da97662417085774f75c26e535c6fbe70266ae

Patch Set 1 : #

Total comments: 30

Patch Set 2 : address comments #

Patch Set 3 : remove cast change on security_handler file #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -107 lines) Patch
M core/include/fpdfapi/cpdf_parser.h View 1 chunk +1 line, -1 line 0 comments Download
M core/include/fpdfapi/fpdf_serial.h View 2 chunks +2 lines, -2 lines 0 comments Download
M core/include/fxcrt/fx_ext.h View 1 1 chunk +4 lines, -8 lines 0 comments Download
M core/include/fxcrt/fx_string.h View 1 chunk +1 line, -1 line 0 comments Download
M core/include/fxcrt/fx_system.h View 1 1 chunk +6 lines, -4 lines 0 comments Download
M core/include/fxge/fx_ge.h View 1 chunk +12 lines, -12 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_hint_tables.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_parser.cpp View 1 5 chunks +5 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/cpdf_syntax_parser.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp View 1 2 chunks +7 lines, -4 lines 0 comments Download
M core/src/fpdfdoc/doc_formfield.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download
M core/src/fxcrt/fx_basic_buffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxcrt/fx_basic_wstring.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M core/src/fxge/agg/fx_agg_driver.cpp View 1 chunk +15 lines, -15 lines 0 comments Download
M core/src/fxge/ge/fx_ge_fontmap.cpp View 1 1 chunk +6 lines, -5 lines 0 comments Download
M fpdfsdk/include/fsdk_baseannot.h View 1 chunk +2 lines, -2 lines 0 comments Download
M fpdfsdk/include/fsdk_baseform.h View 3 chunks +5 lines, -5 lines 0 comments Download
M fpdfsdk/include/pdfwindow/PWL_SpecialButton.h View 2 chunks +6 lines, -6 lines 0 comments Download
M fpdfsdk/src/formfiller/FFL_CheckBox.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/formfiller/FFL_RadioButton.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/fpdfsave.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M fpdfsdk/src/fsdk_baseannot.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 6 chunks +7 lines, -7 lines 0 comments Download
M fpdfsdk/src/javascript/Document.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M fpdfsdk/src/javascript/Field.cpp View 1 2 chunks +5 lines, -3 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_SpecialButton.cpp View 4 chunks +6 lines, -6 lines 0 comments Download
M pdfium.gyp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (5 generated)
Wei Li
I think GetSimilarValue() in fx_ge_fontmap.cpp had a bug on the logic. The change should be ...
4 years, 9 months ago (2016-03-10 23:15:25 UTC) #3
Tom Sepez
On 2016/03/10 23:15:25, Wei Li wrote: > I think GetSimilarValue() in fx_ge_fontmap.cpp had a bug ...
4 years, 9 months ago (2016-03-10 23:44:34 UTC) #4
Wei Li
On 2016/03/10 23:44:34, Tom Sepez wrote: > On 2016/03/10 23:15:25, Wei Li wrote: > > ...
4 years, 9 months ago (2016-03-10 23:56:39 UTC) #7
Tom Sepez
https://codereview.chromium.org/1783023002/diff/20001/core/include/fpdfapi/cpdf_parser.h File core/include/fpdfapi/cpdf_parser.h (right): https://codereview.chromium.org/1783023002/diff/20001/core/include/fpdfapi/cpdf_parser.h#newcode133 core/include/fpdfapi/cpdf_parser.h:133: bool m_bVersionUpdated; Poking around for how this is used, ...
4 years, 9 months ago (2016-03-11 00:30:29 UTC) #8
Wei Li
Thanks for the review! https://codereview.chromium.org/1783023002/diff/20001/core/include/fpdfapi/cpdf_parser.h File core/include/fpdfapi/cpdf_parser.h (right): https://codereview.chromium.org/1783023002/diff/20001/core/include/fpdfapi/cpdf_parser.h#newcode133 core/include/fpdfapi/cpdf_parser.h:133: bool m_bVersionUpdated; On 2016/03/11 00:30:28, ...
4 years, 9 months ago (2016-03-11 04:11:37 UTC) #9
Tom Sepez
Great. Thanks. LGTM.
4 years, 9 months ago (2016-03-11 20:21:46 UTC) #10
Wei Li
4 years, 9 months ago (2016-03-12 01:01:04 UTC) #12
Message was sent while issue was closed.
Committed patchset #3 (id:60001) manually as
97da97662417085774f75c26e535c6fbe70266ae (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698