diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-06-12 13:39:16 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-06-12 13:39:16 +0000 |
commit | 82c730bf83c7582d360fc4080c7729115b0a9550 (patch) | |
tree | fa80b3021fe06074fcd676e55195ca45f74ebfd1 /fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp | |
parent | 909c6e7d2623f76dee27502d693f8b4fbb8b7649 (diff) | |
download | pdfium-82c730bf83c7582d360fc4080c7729115b0a9550.tar.xz |
Make empty document always have empty privileges
This landed earlier as part of a larger change that got reverted for
unrelated reasons. Now re-land it by itself. See
https://pdfium-review.googlesource.com/c/pdfium/+/33370
If we don't have a document, then we can't dynamically tell if it is
an XFA doc, so there's no reason to believe it should have all permissions.
If there is an XFA doc under the covers, then the extension will give
us the value.
Change-Id: I6e007ab659914c39d2e5f3fe7a25d9d13439d358
Reviewed-on: https://pdfium-review.googlesource.com/34932
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/pwl/cpwl_combo_box_embeddertest.cpp')
0 files changed, 0 insertions, 0 deletions