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

Issue 2485283002: Add FPDF_FreeDefaultSystemFontInfo API (Closed)

Created:
4 years, 1 month ago by npm
Modified:
4 years, 1 month ago
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add FPDF_FreeDefaultSystemFontInfo API Added method that will cast into FPDF_SYSFONTINFO_DEFAULT and delete. This will allow using FPDF_GetDefaultSystemFontInfo() without memory management problems. Committed: https://pdfium.googlesource.com/pdfium/+/788217d77c9933614efbd778b6f6ee0008f4f9d9

Patch Set 1 #

Total comments: 2

Patch Set 2 : Nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -2 lines) Patch
M fpdfsdk/fpdf_sysfontinfo.cpp View 1 1 chunk +5 lines, -0 lines 0 comments Download
M fpdfsdk/fpdfview_c_api_test.c View 1 chunk +1 line, -0 lines 0 comments Download
M public/fpdf_sysfontinfo.h View 1 chunk +15 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
Tom Sepez
lgtm https://codereview.chromium.org/2485283002/diff/1/fpdfsdk/fpdf_sysfontinfo.cpp File fpdfsdk/fpdf_sysfontinfo.cpp (right): https://codereview.chromium.org/2485283002/diff/1/fpdfsdk/fpdf_sysfontinfo.cpp#newcode200 fpdfsdk/fpdf_sysfontinfo.cpp:200: auto* pDefault = static_cast<FPDF_SYSFONTINFO_DEFAULT*>(pDefaultFontInfo); nit: local not needed, ...
4 years, 1 month ago (2016-11-08 22:45:05 UTC) #5
npm
https://codereview.chromium.org/2485283002/diff/1/fpdfsdk/fpdf_sysfontinfo.cpp File fpdfsdk/fpdf_sysfontinfo.cpp (right): https://codereview.chromium.org/2485283002/diff/1/fpdfsdk/fpdf_sysfontinfo.cpp#newcode200 fpdfsdk/fpdf_sysfontinfo.cpp:200: auto* pDefault = static_cast<FPDF_SYSFONTINFO_DEFAULT*>(pDefaultFontInfo); On 2016/11/08 22:45:05, Tom Sepez ...
4 years, 1 month ago (2016-11-08 22:49:37 UTC) #6
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/2485283002/20001
4 years, 1 month ago (2016-11-08 22:49:49 UTC) #9
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 00:48:41 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/788217d77c9933614efbd778b6f6ee0008f4...

Powered by Google App Engine
This is Rietveld 408576698