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

Issue 973673002: Check whether a pdf has XFA fields before loading XFA fields (Closed)

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

Description

Check whether a pdf has XFA fields before loading XFA fields BUG=NA R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/827a1722f70e7092270b5e0fdfba1e9c0b1ac50f

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -36 lines) Patch
M fpdfsdk/src/fpdfview.cpp View 1 2 1 chunk +30 lines, -33 lines 0 comments Download
M samples/pdfium_test.cc View 1 2 1 chunk +11 lines, -2 lines 0 comments Download
M testing/embedder_test.cpp View 1 2 1 chunk +6 lines, -1 line 0 comments Download

Messages

Total messages: 10 (1 generated)
jun_fang
Hi Tom and Lei, Please review it.
5 years, 9 months ago (2015-03-03 00:44:27 UTC) #2
Tom Sepez
https://codereview.chromium.org/973673002/diff/20001/fpdfsdk/src/fpdfview.cpp File fpdfsdk/src/fpdfview.cpp (right): https://codereview.chromium.org/973673002/diff/20001/fpdfsdk/src/fpdfview.cpp#newcode308 fpdfsdk/src/fpdfview.cpp:308: if (!document || !((CPDFXFA_Document*)document)->GetPDFDoc()) nit: I'd do this as ...
5 years, 9 months ago (2015-03-03 00:53:34 UTC) #3
jun_fang
https://codereview.chromium.org/973673002/diff/20001/fpdfsdk/src/fpdfview.cpp File fpdfsdk/src/fpdfview.cpp (right): https://codereview.chromium.org/973673002/diff/20001/fpdfsdk/src/fpdfview.cpp#newcode308 fpdfsdk/src/fpdfview.cpp:308: if (!document || !((CPDFXFA_Document*)document)->GetPDFDoc()) On 2015/03/03 00:53:34, Tom Sepez ...
5 years, 9 months ago (2015-03-03 01:02:31 UTC) #4
Tom Sepez
> This same test probably has to go into testing/embedder_tests.cpp for > > EmbedderTest::OpenDocument() which ...
5 years, 9 months ago (2015-03-03 01:03:27 UTC) #5
Tom Sepez
On 2015/03/03 01:03:27, Tom Sepez wrote: > > This same test probably has to go ...
5 years, 9 months ago (2015-03-03 01:05:49 UTC) #6
jun_fang
On 2015/03/03 01:03:27, Tom Sepez wrote: > > This same test probably has to go ...
5 years, 9 months ago (2015-03-03 01:05:55 UTC) #7
jun_fang
On 2015/03/03 01:05:55, jun_fang wrote: > On 2015/03/03 01:03:27, Tom Sepez wrote: > > > ...
5 years, 9 months ago (2015-03-05 20:40:03 UTC) #8
Tom Sepez
lgtm
5 years, 9 months ago (2015-03-05 21:24:33 UTC) #9
jun_fang
5 years, 9 months ago (2015-03-05 21:39:36 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
827a1722f70e7092270b5e0fdfba1e9c0b1ac50f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698