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

Issue 2609423003: Properly ref-count CFGAS_GEFont with CFX_RetainPtr. (Closed)

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

Description

Properly ref-count CFGAS_GEFont with CFX_RetainPtr. We worry about cyclical references, but no leaks found. Review-Url: https://codereview.chromium.org/2609423003 Committed: https://pdfium.googlesource.com/pdfium/+/e647799f6a2f7f747c9f55d9f0ce08dcdfbd53f4

Patch Set 1 #

Patch Set 2 : win #

Patch Set 3 : win #

Patch Set 4 : windows #

Patch Set 5 : windows #

Patch Set 6 : comments #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+455 lines, -499 lines) Patch
M xfa/fde/cfde_txtedtengine.cpp View 2 chunks +2 lines, -1 line 0 comments Download
M xfa/fde/cfde_txtedttextset.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fde/cfde_txtedttextset.cpp View 1 2 chunks +4 lines, -3 lines 0 comments Download
M xfa/fde/fde_gedevice.h View 1 3 chunks +4 lines, -4 lines 2 comments Download
M xfa/fde/fde_gedevice.cpp View 2 chunks +3 lines, -3 lines 0 comments Download
M xfa/fde/fde_render.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fde/fde_visualset.h View 2 chunks +2 lines, -1 line 0 comments Download
M xfa/fde/ifde_txtedtengine.h View 2 chunks +2 lines, -1 line 0 comments Download
M xfa/fde/tto/fde_textout.h View 2 chunks +2 lines, -2 lines 0 comments Download
M xfa/fde/tto/fde_textout.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fgas/font/cfgas_fontmgr.h View 1 2 3 4 8 chunks +51 lines, -49 lines 2 comments Download
M xfa/fgas/font/cfgas_fontmgr.cpp View 1 2 3 14 chunks +135 lines, -164 lines 0 comments Download
M xfa/fgas/font/cfgas_gefont.h View 1 2 3 4 5 6 chunks +32 lines, -26 lines 0 comments Download
M xfa/fgas/font/cfgas_gefont.cpp View 1 2 3 4 5 10 chunks +67 lines, -95 lines 0 comments Download
M xfa/fgas/layout/fgas_rtfbreak.h View 3 chunks +4 lines, -3 lines 0 comments Download
M xfa/fgas/layout/fgas_rtfbreak.cpp View 1 6 chunks +14 lines, -14 lines 0 comments Download
M xfa/fgas/layout/fgas_textbreak.h View 3 chunks +3 lines, -3 lines 0 comments Download
M xfa/fgas/layout/fgas_textbreak.cpp View 4 chunks +11 lines, -14 lines 0 comments Download
M xfa/fgas/layout/fgas_unicode.h View 1 chunk +7 lines, -6 lines 0 comments Download
M xfa/fwl/cfwl_barcode.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M xfa/fwl/cfwl_edit.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fwl/ifwl_themeprovider.h View 1 chunk +2 lines, -1 line 0 comments Download
M xfa/fwl/theme/cfwl_widgettp.h View 6 chunks +9 lines, -7 lines 0 comments Download
M xfa/fwl/theme/cfwl_widgettp.cpp View 2 chunks +8 lines, -6 lines 0 comments Download
M xfa/fxfa/app/xfa_ffwidgetacc.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M xfa/fxfa/app/xfa_fontmgr.cpp View 8 chunks +39 lines, -44 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.h View 2 chunks +3 lines, -2 lines 0 comments Download
M xfa/fxfa/app/xfa_fwltheme.cpp View 2 chunks +2 lines, -5 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 2 chunks +3 lines, -3 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M xfa/fxfa/fxfa_widget.h View 2 chunks +2 lines, -1 line 0 comments Download
M xfa/fxfa/xfa_fontmgr.h View 6 chunks +30 lines, -27 lines 0 comments Download

Messages

Total messages: 32 (26 generated)
Tom Sepez
3 years, 11 months ago (2017-01-04 22:29:53 UTC) #24
dsinclair
https://codereview.chromium.org/2609423003/diff/90001/xfa/fde/fde_gedevice.h File xfa/fde/fde_gedevice.h (right): https://codereview.chromium.org/2609423003/diff/90001/xfa/fde/fde_gedevice.h#newcode103 xfa/fde/fde_gedevice.h:103: const CFX_RetainPtr<CFGAS_GEFont>& pFont, Do we expect these draw methods ...
3 years, 11 months ago (2017-01-05 17:01:20 UTC) #25
Tom Sepez
https://codereview.chromium.org/2609423003/diff/90001/xfa/fde/fde_gedevice.h File xfa/fde/fde_gedevice.h (right): https://codereview.chromium.org/2609423003/diff/90001/xfa/fde/fde_gedevice.h#newcode103 xfa/fde/fde_gedevice.h:103: const CFX_RetainPtr<CFGAS_GEFont>& pFont, On 2017/01/05 17:01:20, dsinclair wrote: > ...
3 years, 11 months ago (2017-01-05 17:35:50 UTC) #26
dsinclair
lgtm
3 years, 11 months ago (2017-01-05 18:54:38 UTC) #28
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/2609423003/90001
3 years, 11 months ago (2017-01-05 18:54:49 UTC) #29
commit-bot: I haz the power
3 years, 11 months ago (2017-01-05 20:57:05 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:90001) as
https://pdfium.googlesource.com/pdfium/+/e647799f6a2f7f747c9f55d9f0ce08dcdfbd...

Powered by Google App Engine
This is Rietveld 408576698