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

Issue 1567343002: Switch most min/max macros to std::min/max. (Closed)

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

Description

Switch most min/max macros to std::min/max. Fix lint errors along the way. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/9adfbb0920a258e916003b1ee9515e97879db82a

Patch Set 1 #

Patch Set 2 : skip win32 #

Patch Set 3 : lint #

Patch Set 4 : more #

Total comments: 8

Patch Set 5 : rebase #

Patch Set 6 : nits #

Patch Set 7 : actually compile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -204 lines) Patch
M core/include/fxcrt/fx_basic.h View 2 chunks +3 lines, -1 line 0 comments Download
M core/include/fxcrt/fx_system.h View 1 chunk +0 lines, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp View 1 2 8 chunks +35 lines, -25 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M core/src/fpdfdoc/doc_formcontrol.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M core/src/fpdfdoc/doc_utils.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M core/src/fpdfdoc/doc_vt.cpp View 1 2 13 chunks +23 lines, -21 lines 0 comments Download
M core/src/fpdfdoc/pdf_vt.h View 1 2 6 chunks +13 lines, -20 lines 0 comments Download
M core/src/fpdftext/fpdf_text_int.cpp View 1 2 6 chunks +17 lines, -19 lines 0 comments Download
M core/src/fxcrt/extension.h View 1 2 3 4 5 5 chunks +23 lines, -38 lines 0 comments Download
M core/src/fxcrt/fx_basic_buffer.cpp View 2 chunks +3 lines, -1 line 0 comments Download
M core/src/fxcrt/fx_basic_wstring.cpp View 1 2 3 chunks +4 lines, -4 lines 0 comments Download
M core/src/fxcrt/fx_extension.cpp View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
M core/src/fxcrt/xml_int.h View 1 2 3 chunks +6 lines, -3 lines 0 comments Download
M core/src/fxge/agg/src/fx_agg_driver.cpp View 1 2 6 chunks +17 lines, -17 lines 0 comments Download
M core/src/fxge/android/fpf_skiafont.cpp View 2 chunks +5 lines, -2 lines 0 comments Download
M fpdfsdk/include/fxedit/fxet_edit.h View 1 2 3 7 chunks +7 lines, -28 lines 0 comments Download
M fpdfsdk/src/fpdf_flatten.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M fpdfsdk/src/fsdk_baseannot.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M fpdfsdk/src/fxedit/fxet_edit.cpp View 1 2 3 3 chunks +4 lines, -3 lines 0 comments Download
M fpdfsdk/src/javascript/PublicMethods.cpp View 2 chunks +4 lines, -2 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_Utils.cpp View 4 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Lei Zhang
4 years, 11 months ago (2016-01-08 05:33:25 UTC) #3
Tom Sepez
lgtm https://codereview.chromium.org/1567343002/diff/60001/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1567343002/diff/60001/core/src/fpdftext/fpdf_text_int.cpp#newcode1927 core/src/fpdftext/fpdf_text_int.cpp:1927: if (nChars == 1 && (0x2D == curChar ...
4 years, 11 months ago (2016-01-08 17:54:43 UTC) #4
Lei Zhang
https://codereview.chromium.org/1567343002/diff/60001/core/src/fpdftext/fpdf_text_int.cpp File core/src/fpdftext/fpdf_text_int.cpp (right): https://codereview.chromium.org/1567343002/diff/60001/core/src/fpdftext/fpdf_text_int.cpp#newcode1927 core/src/fpdftext/fpdf_text_int.cpp:1927: if (nChars == 1 && (0x2D == curChar || ...
4 years, 11 months ago (2016-01-08 23:29:53 UTC) #5
Lei Zhang
4 years, 11 months ago (2016-01-08 23:31:55 UTC) #7
Message was sent while issue was closed.
Committed patchset #7 (id:120001) manually as
9adfbb0920a258e916003b1ee9515e97879db82a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698