Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(458)

Issue 2320213002: Reland of Fix leaked internal font (Closed)

Created:
4 years, 3 months ago by Wei Li
Modified:
4 years, 3 months ago
Reviewers:
Lei Zhang, dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

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 Committed: https://pdfium.googlesource.com/pdfium/+/9a0736803ae6749ec508e1c3ff5f04a483bbcb56

Patch Set 1 : original cl #

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -15 lines) Patch
M xfa/fgas/font/fgas_gefont.h View 1 3 chunks +7 lines, -3 lines 0 comments Download
M xfa/fgas/font/fgas_gefont.cpp View 1 5 chunks +31 lines, -10 lines 0 comments Download
M xfa/fgas/font/fgas_stdfontmgr.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (9 generated)
Wei Li
This is a reland since the memory errors which caused ASAN failed were addressed. Pls ...
4 years, 3 months ago (2016-09-08 21:51:57 UTC) #7
Lei Zhang
lgtm, but can you reference the CL that fixed things?
4 years, 3 months ago (2016-09-08 22:06:38 UTC) #8
Wei Li
On 2016/09/08 22:06:38, Lei Zhang wrote: > lgtm, but can you reference the CL that ...
4 years, 3 months ago (2016-09-08 22:20:30 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2320213002/20001
4 years, 3 months ago (2016-09-08 22:21:08 UTC) #12
commit-bot: I haz the power
4 years, 3 months ago (2016-09-08 22:21:27 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/9a0736803ae6749ec508e1c3ff5f04a483bb...

Powered by Google App Engine
This is Rietveld 408576698