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

Issue 2275703002: Make indirect object holder private. (Closed)

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

Description

Make indirect object holder private. This CL moves the m_IndirectObjs map to be private to the IndirectObjectHolder. Various bits of code have been updated to use the accessors to the map. This CL fixes the issue with the last time this landed by removing the objnum check from GetIndirectObject() which appears to have caused the crashes. Committed: https://pdfium.googlesource.com/pdfium/+/e07edce5b253bc4f2bef6888c5b1cbf0b320a919

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -30 lines) Patch
M core/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 3 chunks +6 lines, -7 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cfdf_document.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_document.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M core/fpdfapi/fpdf_parser/cpdf_indirect_object_holder.cpp View 3 chunks +19 lines, -15 lines 0 comments Download
M core/fpdfapi/fpdf_parser/include/cpdf_indirect_object_holder.h View 2 chunks +2 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 11 (7 generated)
dsinclair
PTAL. I'm splitting up the CL that got reverted (https://codereview.chromium.org/2253723002/). This is the second part ...
4 years, 4 months ago (2016-08-23 20:02:22 UTC) #4
Tom Sepez
lgtm
4 years, 4 months ago (2016-08-24 01:08:56 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/2275703002/1
4 years, 4 months ago (2016-08-24 03:14:16 UTC) #9
commit-bot: I haz the power
4 years, 4 months ago (2016-08-24 03:14:33 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/e07edce5b253bc4f2bef6888c5b1cbf0b320...

Powered by Google App Engine
This is Rietveld 408576698