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

Issue 1638493002: Remove unused IsContentUsedElsewhere() (Closed)

Created:
4 years, 11 months ago by Tom Sepez
Modified:
4 years, 11 months ago
Reviewers:
Lei Zhang, Oliver Chang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@xfa
Target Ref:
refs/heads/xfa
Visibility:
Public.

Description

Remove unused IsContentUsedElsewhere() Then CPDF_Object::GetDirectType() becomes unused. Then GetIndirectType() becomes unused. Then PDFPARSE_TYPEONLY becomes unused. Then we can remove hideous casts of ints to ptrs. Also, PDFPARSE_NOSTREAM is unused. Then we can remove m_Flags from PARSE_CONTEXT. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/02056fae83c8136195c8eb2a00c3606f600a8b6a

Patch Set 1 #

Patch Set 2 : PDFPARSE_NOSTREAM unused. #

Patch Set 3 : m_DictStart and m_DictEnd set but never used. #

Patch Set 4 : Revert to PS2. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -116 lines) Patch
M core/include/fpdfapi/fpdf_objects.h View 2 chunks +0 lines, -2 lines 0 comments Download
M core/include/fpdfapi/fpdf_parser.h View 1 3 2 chunks +0 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp View 2 chunks +6 lines, -29 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp View 2 chunks +0 lines, -19 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 1 3 12 chunks +4 lines, -62 lines 0 comments Download

Messages

Total messages: 11 (6 generated)
Tom Sepez
Oliver, for review. This may be my favorite CL ever.
4 years, 11 months ago (2016-01-25 19:03:23 UTC) #2
Tom Sepez
On 2016/01/25 19:03:23, Tom Sepez wrote: > Oliver, for review. This may be my favorite ...
4 years, 11 months ago (2016-01-25 19:26:22 UTC) #6
Tom Sepez
On 2016/01/25 19:26:22, Tom Sepez wrote: > On 2016/01/25 19:03:23, Tom Sepez wrote: > > ...
4 years, 11 months ago (2016-01-25 19:41:10 UTC) #7
Lei Zhang
lgtm
4 years, 11 months ago (2016-01-25 20:07:14 UTC) #9
Tom Sepez
4 years, 11 months ago (2016-01-25 20:15:33 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
02056fae83c8136195c8eb2a00c3606f600a8b6a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698