diff options
author | weili <weili@chromium.org> | 2016-09-08 15:21:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-09-08 15:21:23 -0700 |
commit | 9a0736803ae6749ec508e1c3ff5f04a483bbcb56 (patch) | |
tree | 7ab220c65348600539d3ec4abf8c0f6e8c1a1dac /.gitignore | |
parent | 0ca160fbf31a7408df282823f7a3d4cbb5f386a1 (diff) | |
download | pdfium-9a0736803ae6749ec508e1c3ff5f04a483bbcb56.tar.xz |
Reland of Fix leaked internal font
Reland of Fix leaked internal font (patchset #2 id:60001 of
https://codereview.chromium.org/2297303004/ )
In CFGAS_FontMgrImp::LoadFont(), a new internal font is created which
is never released. It needs to be correctly marked as internal font to
be released. Fix this by adding a new method to take the ownership
of the font and mark it as internal font properly.
The previous revert was caused by memory management errors
which were fixed at https://codereview.chromium.org/2322043002/
BUG=pdfium:242
Review-Url: https://codereview.chromium.org/2320213002
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions