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

Issue 2403143002: Add method to convert an indirect object in a dictionary (Closed)

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

Description

Add method to convert to an indirect object in a dictionary. Avoid an assert which previously could only be overcome by removing/re-inserting. Back-fill a unit test for the equivalent Array method. BUG=654387 Committed: https://pdfium.googlesource.com/pdfium/+/381fc833ac9e6ea58762b7e7ac8b7f2129e8477f

Patch Set 1 : refactor first #

Patch Set 2 : Resolve issue #

Patch Set 3 : Add unit test for new CPDF_Dictionary method #

Total comments: 3

Patch Set 4 : Const ref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -93 lines) Patch
M core/fpdfapi/parser/cpdf_dictionary.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M core/fpdfapi/parser/cpdf_dictionary.cpp View 1 1 chunk +11 lines, -0 lines 0 comments Download
M core/fpdfapi/parser/cpdf_object_unittest.cpp View 1 2 2 chunks +30 lines, -0 lines 0 comments Download
M fpdfsdk/fpdf_flatten.cpp View 1 2 3 3 chunks +38 lines, -93 lines 0 comments Download

Messages

Total messages: 20 (14 generated)
Tom Sepez
Lei, for review
4 years, 2 months ago (2016-10-10 20:21:18 UTC) #8
Tom Sepez
https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (left): https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp#oldcode235 fpdfsdk/fpdf_flatten.cpp:235: pPage->SetReferenceFor("Contents", pDocument, Noted: Order of make unique, delete, insert ...
4 years, 2 months ago (2016-10-10 20:23:59 UTC) #11
Lei Zhang
lgtm https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (right): https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp#newcode197 fpdfsdk/fpdf_flatten.cpp:197: void SetPageContents(CFX_ByteString key, Pass by ref while we ...
4 years, 2 months ago (2016-10-10 20:48:26 UTC) #14
Tom Sepez
https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (right): https://codereview.chromium.org/2403143002/diff/40001/fpdfsdk/fpdf_flatten.cpp#newcode197 fpdfsdk/fpdf_flatten.cpp:197: void SetPageContents(CFX_ByteString key, On 2016/10/10 20:48:25, Lei Zhang wrote: ...
4 years, 2 months ago (2016-10-10 20:51:45 UTC) #15
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/2403143002/60001
4 years, 2 months ago (2016-10-10 20:52:04 UTC) #18
commit-bot: I haz the power
4 years, 2 months ago (2016-10-10 21:06:48 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/381fc833ac9e6ea58762b7e7ac8b7f2129e8...

Powered by Google App Engine
This is Rietveld 408576698