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

Issue 1544963002: Clean up misc nits found while fixing bugs. (Closed)

Created:
5 years 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

Clean up misc nits found while fixing bugs. Some bits regressed in commit 338805f. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/c5a8933f260ca1034fde902058442984e55c0f7a

Patch Set 1 : #

Total comments: 21

Patch Set 2 : address comments #

Patch Set 3 : move to anonymous namespace, fix more nits #

Patch Set 4 : nits #

Total comments: 2

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -347 lines) Patch
M core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 1 2 3 23 chunks +114 lines, -123 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 1 2 3 14 chunks +107 lines, -103 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 2 3 6 chunks +5 lines, -9 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/pageint.h View 1 chunk +2 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 chunk +1 line, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 2 3 4 7 chunks +9 lines, -6 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_unittest.cpp View 1 chunk +0 lines, -12 lines 0 comments Download
M fpdfsdk/include/fsdk_baseform.h View 1 chunk +0 lines, -4 lines 0 comments Download
M fpdfsdk/include/fsdk_define.h View 1 chunk +0 lines, -1 line 0 comments Download
M fpdfsdk/src/fpdfsave.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/src/fsdk_baseform.cpp View 1 chunk +0 lines, -60 lines 0 comments Download
M fpdfsdk/src/pdfwindow/PWL_FontMap.cpp View 2 chunks +22 lines, -26 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
Lei Zhang
4 years, 11 months ago (2016-01-07 07:08:44 UTC) #6
Tom Sepez
https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode294 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:294: std::vector<uint8_t>* buffer) { nit: does RVO allow us to ...
4 years, 11 months ago (2016-01-07 17:27:02 UTC) #7
Lei Zhang
https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode294 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:294: std::vector<uint8_t>* buffer) { On 2016/01/07 17:27:02, Tom Sepez wrote: ...
4 years, 11 months ago (2016-01-08 02:54:31 UTC) #8
Tom Sepez
lgtm https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1544963002/diff/40001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode298 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:298: for (int i = 0; i < 2; ...
4 years, 11 months ago (2016-01-08 17:01:45 UTC) #9
Lei Zhang
https://codereview.chromium.org/1544963002/diff/100001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): https://codereview.chromium.org/1544963002/diff/100001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode967 core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp:967: } On 2016/01/08 17:01:45, Tom Sepez wrote: > good ...
4 years, 11 months ago (2016-01-08 20:15:39 UTC) #10
Tom Sepez
On 2016/01/08 20:15:39, Lei Zhang wrote: > https://codereview.chromium.org/1544963002/diff/100001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp > File core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp (right): > > https://codereview.chromium.org/1544963002/diff/100001/core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp#newcode967 ...
4 years, 11 months ago (2016-01-08 20:31:33 UTC) #11
Tom Sepez
> broken at 338805f. Can we add this to the description?
4 years, 11 months ago (2016-01-08 20:32:41 UTC) #12
Lei Zhang
On 2016/01/08 20:32:41, Tom Sepez wrote: > > broken at 338805f. > Can we add ...
4 years, 11 months ago (2016-01-08 21:51:59 UTC) #13
Lei Zhang
4 years, 11 months ago (2016-01-08 21:53:14 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:120001) manually as
c5a8933f260ca1034fde902058442984e55c0f7a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698