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

Issue 1414963005: Remove default argument from CPDF_Dictionary::SetAt(). (Closed)

Created:
5 years, 2 months ago by Lei Zhang
Modified:
5 years, 1 month 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

Remove default argument from CPDF_Dictionary::SetAt(). Also fix a potential object leak. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/f7992b39cec908e549fb995acae477a9efba538b

Patch Set 1 #

Total comments: 6

Patch Set 2 : rebase #

Patch Set 3 : address comments #

Total comments: 3

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -33 lines) Patch
M core/include/fpdfapi/fpdf_objects.h View 1 2 2 chunks +1 line, -9 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 1 2 2 chunks +8 lines, -5 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp View 1 2 1 chunk +14 lines, -17 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 2 1 chunk +8 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
Lei Zhang
5 years, 2 months ago (2015-10-24 00:40:32 UTC) #2
Tom Sepez
lgtm https://codereview.chromium.org/1414963005/diff/1/core/include/fpdfapi/fpdf_objects.h File core/include/fpdfapi/fpdf_objects.h (right): https://codereview.chromium.org/1414963005/diff/1/core/include/fpdfapi/fpdf_objects.h#newcode409 core/include/fpdfapi/fpdf_objects.h:409: void SetAt(const CFX_ByteStringC& key, CPDF_Object* pObj); rant: this ...
5 years, 2 months ago (2015-10-24 16:50:02 UTC) #3
Lei Zhang
Please review again. https://codereview.chromium.org/1414963005/diff/1/core/include/fpdfapi/fpdf_objects.h File core/include/fpdfapi/fpdf_objects.h (right): https://codereview.chromium.org/1414963005/diff/1/core/include/fpdfapi/fpdf_objects.h#newcode409 core/include/fpdfapi/fpdf_objects.h:409: void SetAt(const CFX_ByteStringC& key, CPDF_Object* pObj); ...
5 years, 1 month ago (2015-10-26 21:58:22 UTC) #4
Tom Sepez
lgtm https://codereview.chromium.org/1414963005/diff/40001/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp File core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp (right): https://codereview.chromium.org/1414963005/diff/40001/core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp#newcode99 core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp:99: if (pCSObj && !pCSObj->GetObjNum()) { On 2015/10/26 21:58:22, ...
5 years, 1 month ago (2015-10-26 22:14:00 UTC) #5
Lei Zhang
5 years, 1 month ago (2015-10-26 22:36:21 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
f7992b39cec908e549fb995acae477a9efba538b (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698