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

Issue 1944093002: Cleanup XFA-Specific memory allocators. (Closed)

Created:
4 years, 7 months ago by Tom Sepez
Modified:
4 years, 7 months ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Cleanup XFA-Specific memory allocators. Remove unused "dynamic" allocator (the scary one). Use malloc/free wrapper allocator under #ifdef for CF/asan testing. Rename IFX_MEMAllocator to IFX_MemoryAllocator (MEM in all caps would imply that MEM was an acroynm, not an abbreviation). Committed: https://pdfium.googlesource.com/pdfium/+/4d06f83da7fbc65e83ecc3c36b339c04ac1ab668

Patch Set 1 #

Total comments: 24

Patch Set 2 : {} in one place. #

Patch Set 3 : Dan's comments, remove more unused methods. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -328 lines) Patch
M xfa/fde/css/fde_cssdatatable.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fde/css/fde_cssdatatable.cpp View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fde/css/fde_cssdeclaration.h View 4 chunks +7 lines, -7 lines 0 comments Download
M xfa/fde/css/fde_cssdeclaration.cpp View 1 2 16 chunks +24 lines, -23 lines 0 comments Download
M xfa/fde/css/fde_cssstyleselector.h View 4 chunks +6 lines, -6 lines 0 comments Download
M xfa/fde/css/fde_cssstyleselector.cpp View 1 3 chunks +8 lines, -9 lines 0 comments Download
M xfa/fde/css/fde_cssstylesheet.h View 3 chunks +4 lines, -4 lines 0 comments Download
M xfa/fde/css/fde_cssstylesheet.cpp View 3 chunks +6 lines, -8 lines 0 comments Download
M xfa/fee/fde_txtedtbuf.h View 1 chunk +1 line, -1 line 0 comments Download
M xfa/fee/fde_txtedtbuf.cpp View 1 chunk +2 lines, -3 lines 0 comments Download
M xfa/fgas/crt/fgas_memory.h View 1 2 1 chunk +8 lines, -14 lines 0 comments Download
M xfa/fgas/crt/fgas_memory.cpp View 1 2 13 chunks +45 lines, -239 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.h View 6 chunks +8 lines, -7 lines 0 comments Download
M xfa/fxfa/app/xfa_textlayout.cpp View 2 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
Tom Sepez
Dan, for review. I'll undo the #define later, but for now, this will let asan ...
4 years, 7 months ago (2016-05-03 20:34:02 UTC) #2
dsinclair
lgtm w/ nits. https://codereview.chromium.org/1944093002/diff/1/xfa/fde/css/fde_cssdeclaration.cpp File xfa/fde/css/fde_cssdeclaration.cpp (right): https://codereview.chromium.org/1944093002/diff/1/xfa/fde/css/fde_cssdeclaration.cpp#newcode418 xfa/fde/css/fde_cssdeclaration.cpp:418: IFX_MemoryAllocator* pStaticStore = (IFX_MemoryAllocator*)pArgs->pStaticStore; nit: static_cast ...
4 years, 7 months ago (2016-05-03 20:43:52 UTC) #3
Tom Sepez
https://codereview.chromium.org/1944093002/diff/1/xfa/fde/css/fde_cssdeclaration.cpp File xfa/fde/css/fde_cssdeclaration.cpp (right): https://codereview.chromium.org/1944093002/diff/1/xfa/fde/css/fde_cssdeclaration.cpp#newcode418 xfa/fde/css/fde_cssdeclaration.cpp:418: IFX_MemoryAllocator* pStaticStore = (IFX_MemoryAllocator*)pArgs->pStaticStore; On 2016/05/03 20:43:51, dsinclair wrote: ...
4 years, 7 months ago (2016-05-03 20:59:31 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1944093002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1944093002/40001
4 years, 7 months ago (2016-05-03 21:01:06 UTC) #7
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 21:13:37 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/4d06f83da7fbc65e83ecc3c36b339c04ac1a...

Powered by Google App Engine
This is Rietveld 408576698