diff options
author | Tom Sepez <tsepez@chromium.org> | 2018-04-30 21:02:03 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-30 21:02:03 +0000 |
commit | da65a8ea74d2748c93015fb5521da678e29e6548 (patch) | |
tree | c9455640dd3e89a43ab4cf7e3bf17ed475033b5d /fxjs/xfa/cjx_deltas.cpp | |
parent | f213df4a87ede709db1f311bbad3c68fbccf159c (diff) | |
download | pdfium-da65a8ea74d2748c93015fb5521da678e29e6548.tar.xz |
Saner memory managment in cttfontdesc, part 1.
A subsequent patch will tackle the ad-hoc ref counting, but we
can tidy this before going down that hole.
Decouple CTTFontDesc creation from face setting.
Remove union and treat single-entry case as vector's first element.
Pass unique_ptr to prove memory ownership.
Change-Id: Ic427798da04f3afbb65a56ee10045b9f22457a73
Reviewed-on: https://pdfium-review.googlesource.com/31730
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxjs/xfa/cjx_deltas.cpp')
0 files changed, 0 insertions, 0 deletions