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

Issue 1419643005: Merge to XFA: Add type cast definitions for CPDF_Array. (Closed)

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

Description

Merge to XFA: Add type cast definitions for CPDF_Array. This Cl adds ToArray, CPDF_Object::AsArray and CPDF_Object::IsArray and updates the src to use them as needed. BUG=pdfium:201 R=thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1417893003 . (cherry picked from commit c2bfc000e502c42c9a3017038fd9104c7997d126) Committed: https://pdfium.googlesource.com/pdfium/+/2b11dc1220746d2f6f97a940fc9e4235c8ed4975

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -417 lines) Patch
M core/include/fpdfapi/fpdf_objects.h View 2 chunks +11 lines, -0 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_content.cpp View 2 chunks +4 lines, -6 lines 0 comments Download
M core/src/fpdfapi/fpdf_edit/fpdf_edit_create.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_font/fpdf_font_cid.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_colors.cpp View 2 chunks +14 lines, -19 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_doc.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_graph_state.cpp View 4 chunks +15 lines, -17 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_parser_old.cpp View 3 chunks +13 lines, -15 lines 0 comments Download
M core/src/fpdfapi/fpdf_page/fpdf_page_pattern.cpp View 1 chunk +4 lines, -7 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 chunk +10 lines, -14 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_document.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_objects.cpp View 11 chunks +27 lines, -28 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_parser.cpp View 6 chunks +12 lines, -13 lines 0 comments Download
M core/src/fpdfapi/fpdf_parser/fpdf_parser_utility.cpp View 1 chunk +1 line, -1 line 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_image.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M core/src/fpdfapi/fpdf_render/fpdf_render_loadimage.cpp View 3 chunks +3 lines, -6 lines 0 comments Download
M core/src/fpdfdoc/doc_action.cpp View 6 chunks +14 lines, -21 lines 0 comments Download
M core/src/fpdfdoc/doc_ap.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M core/src/fpdfdoc/doc_basic.cpp View 5 chunks +24 lines, -30 lines 0 comments Download
M core/src/fpdfdoc/doc_bookmark.cpp View 1 chunk +4 lines, -6 lines 0 comments Download
M core/src/fpdfdoc/doc_formcontrol.cpp View 2 chunks +5 lines, -7 lines 0 comments Download
M core/src/fpdfdoc/doc_formfield.cpp View 7 chunks +27 lines, -43 lines 0 comments Download
M core/src/fpdfdoc/doc_link.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M core/src/fpdfdoc/doc_ocg.cpp View 5 chunks +32 lines, -47 lines 0 comments Download
M core/src/fpdfdoc/doc_tagged.cpp View 7 chunks +57 lines, -73 lines 0 comments Download
M fpdfsdk/src/fpdf_flatten.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/src/fpdf_transformpage.cpp View 4 chunks +21 lines, -19 lines 0 comments Download
M fpdfsdk/src/fpdfdoc.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/src/fpdfppo.cpp View 1 chunk +1 line, -1 line 0 comments Download
M fpdfsdk/src/fpdfview.cpp View 1 chunk +5 lines, -4 lines 0 comments Download
M fpdfsdk/src/fsdk_actionhandler.cpp View 3 chunks +7 lines, -7 lines 1 comment Download
M fpdfsdk/src/fsdk_mgr.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
dsinclair
PTAL. Merge conflict marked. https://codereview.chromium.org/1419643005/diff/1/fpdfsdk/src/fsdk_actionhandler.cpp File fpdfsdk/src/fsdk_actionhandler.cpp (right): https://codereview.chromium.org/1419643005/diff/1/fpdfsdk/src/fsdk_actionhandler.cpp#newcode437 fpdfsdk/src/fsdk_actionhandler.cpp:437: CPDF_Document* pPDFDocument = pDocument->GetDocument()->GetPDFDoc(); Merge ...
5 years, 2 months ago (2015-10-22 13:39:29 UTC) #1
Lei Zhang
lgtm I think tsepez has plans to abstract away that conflict.
5 years, 2 months ago (2015-10-22 18:54:24 UTC) #2
Tom Sepez
lgtm
5 years, 2 months ago (2015-10-22 18:59:24 UTC) #3
dsinclair
5 years, 2 months ago (2015-10-22 19:02:09 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
2b11dc1220746d2f6f97a940fc9e4235c8ed4975 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698