From fbc7449fa39b5ad3424a80bda0e8563db546a58b Mon Sep 17 00:00:00 2001 From: JUN FANG Date: Fri, 3 Apr 2015 11:35:50 -0700 Subject: Merge to XFA: Add embedder test comparing with the last patch. When there is a wrong keyword like '??ze' in the dictionary of the trailer, PDFium can't recognize it and aborts further parsing. After this change, PDFium continues even it can't get the right size at this moment. It will rebuild the cross reference table later since the size of the table is missing. BUG=459580 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1055323003 --- pdfium.gyp | 1 + 1 file changed, 1 insertion(+) (limited to 'pdfium.gyp') diff --git a/pdfium.gyp b/pdfium.gyp index 78b334df90..23bae8d595 100644 --- a/pdfium.gyp +++ b/pdfium.gyp @@ -944,6 +944,7 @@ '<(DEPTH)/v8/include', ], 'sources': [ + 'core/src/fpdfapi/fpdf_parser/fpdf_parser_parser_embeddertest.cpp', 'fpdfsdk/src/fpdf_dataavail_embeddertest.cpp', 'fpdfsdk/src/fpdfdoc_embeddertest.cpp', 'fpdfsdk/src/fpdfformfill_embeddertest.cpp', -- cgit v1.2.3