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

Issue 2350243002: Make CFX_FontCache global (Closed)

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

Description

Refactor CFX_FontCache to have only one in GE Module. After this CL: only one global CFX_FontCache used. Any cached items from it, are released, when they are not being used. This is restore part of reverted CL: Original CL: https://codereview.chromium.org/2158023002 Revert reason: BUG=647612 Fix bug CL: https://codereview.chromium.org/2350193003 Committed: https://pdfium.googlesource.com/pdfium/+/9972ff99285cea12a20026136e98c1e635a15010

Patch Set 1 #

Patch Set 2 : Remove fix leaks code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+208 lines, -263 lines) Patch
M core/fpdfapi/fpdf_parser/cpdf_document.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render.cpp View 2 chunks +1 line, -11 lines 0 comments Download
M core/fpdfapi/fpdf_render/fpdf_render_text.cpp View 9 chunks +8 lines, -30 lines 0 comments Download
M core/fpdfapi/fpdf_render/render_int.h View 3 chunks +0 lines, -3 lines 0 comments Download
M core/fxge/agg/fx_agg_driver.h View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/agg/fx_agg_driver.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/apple/apple_int.h View 3 chunks +0 lines, -4 lines 0 comments Download
M core/fxge/apple/fx_apple_platform.cpp View 5 chunks +3 lines, -6 lines 0 comments Download
M core/fxge/apple/fx_quartz_device.cpp View 6 chunks +5 lines, -8 lines 0 comments Download
M core/fxge/ge/cfx_facecache.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M core/fxge/ge/cfx_font.cpp View 9 chunks +57 lines, -7 lines 0 comments Download
M core/fxge/ge/cfx_fontcache.cpp View 2 chunks +19 lines, -34 lines 0 comments Download
M core/fxge/ge/cfx_renderdevice.cpp View 10 chunks +12 lines, -25 lines 0 comments Download
M core/fxge/ifx_renderdevicedriver.cpp View 2 chunks +0 lines, -3 lines 0 comments Download
M core/fxge/include/cfx_facecache.h View 1 chunk +6 lines, -6 lines 0 comments Download
M core/fxge/include/cfx_fontcache.h View 2 chunks +12 lines, -5 lines 0 comments Download
M core/fxge/include/cfx_renderdevice.h View 3 chunks +0 lines, -3 lines 0 comments Download
M core/fxge/include/fx_font.h View 5 chunks +25 lines, -10 lines 0 comments Download
M core/fxge/include/ifx_renderdevicedriver.h View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/skia/fx_skia_device.h View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/skia/fx_skia_device.cpp View 8 chunks +8 lines, -19 lines 0 comments Download
M core/fxge/skia/fx_skia_device_unittest.cpp View 4 chunks +4 lines, -6 lines 0 comments Download
M core/fxge/win32/fx_win32_print.cpp View 2 chunks +0 lines, -2 lines 0 comments Download
M core/fxge/win32/win32_int.h View 2 chunks +0 lines, -2 lines 0 comments Download
M xfa/fde/fde_gedevice.cpp View 4 chunks +9 lines, -11 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OneDimWriter.cpp View 2 chunks +4 lines, -5 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN13Writer.cpp View 6 chunks +9 lines, -15 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedEAN8Writer.cpp View 4 chunks +6 lines, -10 lines 0 comments Download
M xfa/fxbarcode/oned/BC_OnedUPCAWriter.cpp View 8 chunks +12 lines, -20 lines 0 comments Download
M xfa/fxgraphics/cfx_graphics.cpp View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (7 generated)
dsinclair
I think we should break this apart. There is the bit related to fixing the ...
4 years, 3 months ago (2016-09-20 13:02:19 UTC) #3
snake
On 2016/09/20 13:02:19, dsinclair wrote: > I think we should break this apart. There is ...
4 years, 3 months ago (2016-09-20 13:41:30 UTC) #5
npm
On 2016/09/20 13:41:30, snake wrote: > On 2016/09/20 13:02:19, dsinclair wrote: > > I think ...
4 years, 3 months ago (2016-09-20 14:16:42 UTC) #8
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/2350243002/20001
4 years, 3 months ago (2016-09-20 14:19:43 UTC) #10
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 14:46:29 UTC) #12
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/9972ff99285cea12a20026136e98c1e635a1...

Powered by Google App Engine
This is Rietveld 408576698