diff options
author | npm <npm@chromium.org> | 2016-11-14 12:16:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-11-14 12:16:00 -0800 |
commit | be83b31dc4f21e7be066ac1093fcd9b6aab058ed (patch) | |
tree | f2766e13c4b1b45bd3bb0c9d41081187a13204e3 /navbar.md | |
parent | e3c731526c0464822758a2a8b3a9ca9527ce9272 (diff) | |
download | pdfium-be83b31dc4f21e7be066ac1093fcd9b6aab058ed.tar.xz |
Properly release caches in CPDF_DocRenderData
Currently, only RemoveRef() is being called when releasing. The problem
is that when the object is no longer being used, the map is not updated
accordingly. In the pdf in the bug below, the pointer of a font used in
the second page coincides with the pointer of a font in the first page
(that was released). So the cached values for the font in the first
page are used, resulting in incorrect rendering.
BUG=pdfium:629
Review-Url: https://codereview.chromium.org/2501053002
Diffstat (limited to 'navbar.md')
0 files changed, 0 insertions, 0 deletions