diff options
author | tsepez <tsepez@chromium.org> | 2016-10-03 15:40:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-10-03 15:40:36 -0700 |
commit | aba528a362248a54b27a7e9e046e2b65ab83f624 (patch) | |
tree | 41e642d7316dd947f63e3dd246eb0cd8a345f74c /core/fdrm | |
parent | 36eb4bdcae719cf33c536ff72ac000482aed8382 (diff) | |
download | pdfium-aba528a362248a54b27a7e9e046e2b65ab83f624.tar.xz |
Assert that only 0-numbered objects are Released()
This condition holds because numbered objects are brute-force
deleted by the indirect object holder, rather than being
released.
Be careful about recursive deletion, check before advancing,
since we no longer count on Release() doing this for us.
Fix a few tests where the test was violating ownership rules.
This should be the last step before completely removing Release()
in favor of direct delete everywhere.
Review-Url: https://codereview.chromium.org/2375343004
Diffstat (limited to 'core/fdrm')
0 files changed, 0 insertions, 0 deletions