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

Issue 2491583003: Tidy fpdfsdk/fpdf_flatten.cpp (Closed)

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

Description

Tidy fpdfsdk/fpdf_flatten.cpp Remove CFX_ArrayTemplate usage. Use std::min(), std::max() in a few places. Committed: https://pdfium.googlesource.com/pdfium/+/6173c9d2a3ce717b1ea3bfa12d6d403ee6a543a6

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -66 lines) Patch
M fpdfsdk/fpdf_flatten.cpp View 1 9 chunks +37 lines, -66 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Tom Sepez
Lei, ready for review. https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (right): https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp#newcode265 fpdfsdk/fpdf_flatten.cpp:265: rcMerger.left = std::max(rcMerger.left, rcOriginalMB.left); Note: ...
4 years, 1 month ago (2016-11-09 21:34:06 UTC) #4
Lei Zhang
https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (right): https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp#newcode124 fpdfsdk/fpdf_flatten.cpp:124: int nRects = pdfium::CollectionSize<int>(array); Can we just do size_t ...
4 years, 1 month ago (2016-11-09 22:10:20 UTC) #5
Tom Sepez
https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (right): https://codereview.chromium.org/2491583003/diff/1/fpdfsdk/fpdf_flatten.cpp#newcode124 fpdfsdk/fpdf_flatten.cpp:124: int nRects = pdfium::CollectionSize<int>(array); On 2016/11/09 22:10:20, Lei Zhang ...
4 years, 1 month ago (2016-11-09 22:28:22 UTC) #6
Lei Zhang
lgtm
4 years, 1 month ago (2016-11-09 23:06:35 UTC) #7
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/2491583003/20001
4 years, 1 month ago (2016-11-09 23:28:39 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-10 00:38:06 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/6173c9d2a3ce717b1ea3bfa12d6d403ee6a5...

Powered by Google App Engine
This is Rietveld 408576698