diff options
author | dsinclair <dsinclair@chromium.org> | 2016-04-25 14:14:56 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-25 14:14:56 -0700 |
commit | 1f5f2fff688f4075a62c87a032c9a9070bde89fc (patch) | |
tree | 45deaa748b75d0eddc521b1ef21fca40db74b495 /core | |
parent | 084174a3523e0ebdbf2d9d1c9902d2ba4875182e (diff) | |
download | pdfium-1f5f2fff688f4075a62c87a032c9a9070bde89fc.tar.xz |
Fixup page removal for XFA documents.
Currently when you call DelegePage on a CPDFXFA_Document the page will not be
correctly removed. The page is left in the underlying document and, if
GetPage was never called for that page index nothing will happen.
This CL updates the code to always remove the page_index from the underlying
CPDF_Document then, if needed, the original code runs to clear out the
XFA page list for that page.
BUG=chromium:596373
Review URL: https://codereview.chromium.org/1921033003
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions