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

Issue 2169793002: Use smart pointers for CFX_Font and CFX_Type3Font classes (Closed)

Created:
4 years, 5 months ago by Wei Li
Modified:
4 years, 5 months ago
Reviewers:
Lei Zhang, 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

Use smart pointers for CFX_Font and CFX_Type3Font classes For the class owned member variables, use std::unique_ptr or std::vector for memory management. BUG=pdfium:518 Committed: https://pdfium.googlesource.com/pdfium/+/9b671ace8aec906683b05399cf8a2882ed8ef7b6

Patch Set 1 #

Patch Set 2 : style fixes #

Total comments: 16

Patch Set 3 : rebase #

Patch Set 4 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -78 lines) Patch
M core/fpdfapi/fpdf_font/cpdf_type3font.h View 2 chunks +2 lines, -1 line 0 comments Download
M core/fpdfapi/fpdf_font/cpdf_type3font.cpp View 4 chunks +5 lines, -8 lines 0 comments Download
M core/fxge/ge/fx_ge_font.cpp View 1 2 3 9 chunks +48 lines, -56 lines 0 comments Download
M core/fxge/include/fx_font.h View 5 chunks +8 lines, -4 lines 0 comments Download
M xfa/fde/fde_gedevice.cpp View 3 chunks +6 lines, -8 lines 0 comments Download
M xfa/fgas/font/fgas_gefont.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
Wei Li
pls review, thanks
4 years, 5 months ago (2016-07-21 17:09:04 UTC) #2
Lei Zhang
4 years, 5 months ago (2016-07-21 19:21:03 UTC) #4
dsinclair
https://codereview.chromium.org/2169793002/diff/20001/core/fxge/ge/fx_ge_font.cpp File core/fxge/ge/fx_ge_font.cpp (right): https://codereview.chromium.org/2169793002/diff/20001/core/fxge/ge/fx_ge_font.cpp#newcode40 core/fxge/ge/fx_ge_font.cpp:40: if (count == 0) { nit: no {}'s https://codereview.chromium.org/2169793002/diff/20001/core/fxge/ge/fx_ge_font.cpp#newcode43 ...
4 years, 5 months ago (2016-07-21 19:40:00 UTC) #5
Wei Li
ptal, thanks https://codereview.chromium.org/2169793002/diff/20001/core/fxge/ge/fx_ge_font.cpp File core/fxge/ge/fx_ge_font.cpp (right): https://codereview.chromium.org/2169793002/diff/20001/core/fxge/ge/fx_ge_font.cpp#newcode40 core/fxge/ge/fx_ge_font.cpp:40: if (count == 0) { On 2016/07/21 ...
4 years, 5 months ago (2016-07-21 21:15:03 UTC) #6
dsinclair
lgtm
4 years, 5 months ago (2016-07-25 14:02:07 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/2169793002/60001
4 years, 5 months ago (2016-07-25 14:02:13 UTC) #9
commit-bot: I haz the power
4 years, 5 months ago (2016-07-25 14:40:31 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/9b671ace8aec906683b05399cf8a2882ed8e...

Powered by Google App Engine
This is Rietveld 408576698