diff options
author | dsinclair <dsinclair@chromium.org> | 2016-09-06 14:18:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-06 14:18:57 -0700 |
commit | 1897bdc3cf51c84a0356d373e34ec100c93c954e (patch) | |
tree | 1b7afb7100cf9dad87e4cecd66eecf053fc7f2af /DEPS | |
parent | 73c485699b323eaecc801ce55460268f7a79b34e (diff) | |
download | pdfium-1897bdc3cf51c84a0356d373e34ec100c93c954e.tar.xz |
Do not re-create the page view when accessing from Document::removeField.
When removing a field from the document we can force the recreation of a
CPDFSDK_PageView by passing |true| as the last parameter to |GetPageView|. This
will force a new page view to be created so we can delete a field from it and,
we then end up with a dangling PageView.
This CL passes |false| to |GetPageView| and skips removing the widget if we
do not receive a pageView back from the document.
BUG=chromium:644219
Review-Url: https://codereview.chromium.org/2312023004
Diffstat (limited to 'DEPS')
0 files changed, 0 insertions, 0 deletions