summaryrefslogtreecommitdiff
path: root/fxjs/cjx_hostpseudomodel.cpp
diff options
context:
space:
mode:
authorHenrique Nakashima <hnakashima@chromium.org>2017-11-08 16:19:50 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-08 16:19:50 +0000
commit20f22a0a38a6c6d9ccd0ead2e65093e79f0bd051 (patch)
treea02ebaf3432516a879d356748545552aa78fb8b0 /fxjs/cjx_hostpseudomodel.cpp
parent9a93484a61fe0e9b8a4a4c664f596857eb78f819 (diff)
downloadpdfium-20f22a0a38a6c6d9ccd0ead2e65093e79f0bd051.tar.xz
Fix FPDF_SaveAsCopy for linearized PDFs.
Only the last trailer was written to the new PDF. In linearized PDFs, this means Info and Root were not copied to the newly written PDF. This CL makes CPDF_Parser remember the Root and provide that to CPDF_Creator. Bug: pdfium:614 Change-Id: Ia61f5f6a337f7de3010ee0ed39b022c1b2732ea2 Reviewed-on: https://pdfium-review.googlesource.com/17987 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxjs/cjx_hostpseudomodel.cpp')
0 files changed, 0 insertions, 0 deletions