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

Issue 889943005: Do not leak FamilyData in Android SkFontMgr. (Closed)

Created:
5 years, 10 months ago by bungeman-skia
Modified:
5 years, 10 months ago
Reviewers:
mtklein, djsollen, tomhudson
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@android2
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Do not leak FamilyData in Android SkFontMgr. Currently, it appears one FamilyData is leaking per scanned file. This also cleans up the hanging currentFamily memory management. Committed: https://skia.googlesource.com/skia/+/7a3527d7a307c62432cc81ce497a174b15f62d68

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M src/ports/SkFontConfigParser_android.cpp View 7 chunks +12 lines, -14 lines 6 comments Download

Messages

Total messages: 9 (2 generated)
bungeman-skia
5 years, 10 months ago (2015-01-30 22:58:09 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/889943005/1
5 years, 10 months ago (2015-01-30 22:58:36 UTC) #4
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
5 years, 10 months ago (2015-01-30 22:58:37 UTC) #5
mtklein
https://codereview.chromium.org/889943005/diff/1/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/889943005/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode62 src/ports/SkFontConfigParser_android.cpp:62: SkTDArray<FontFamily*>& families; // The array to append families, owned ...
5 years, 10 months ago (2015-01-30 23:07:42 UTC) #6
bungeman-skia
https://codereview.chromium.org/889943005/diff/1/src/ports/SkFontConfigParser_android.cpp File src/ports/SkFontConfigParser_android.cpp (right): https://codereview.chromium.org/889943005/diff/1/src/ports/SkFontConfigParser_android.cpp#newcode62 src/ports/SkFontConfigParser_android.cpp:62: SkTDArray<FontFamily*>& families; // The array to append families, owned ...
5 years, 10 months ago (2015-01-30 23:14:56 UTC) #7
mtklein
wow. lgtm. Any interest in taking on SkUniquePtr / SkUniquePtr::Make?
5 years, 10 months ago (2015-01-30 23:23:04 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-01-30 23:24:53 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/7a3527d7a307c62432cc81ce497a174b15f62d68

Powered by Google App Engine
This is Rietveld 408576698