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

Issue 2557173002: Remove CFX_FormatString::Release() (Closed)

Created:
4 years ago by Tom Sepez
Modified:
4 years ago
Reviewers:
dsinclair
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Remove CFX_FormatString::Release() Avoid the |delete this| anti-pattern. Remove some checks which don't avoid other segvs anyways. Committed: https://pdfium.googlesource.com/pdfium/+/248cb27e64b3a25230f53fc2f4ab9d483facc5f9

Patch Set 1 #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -48 lines) Patch
M xfa/fgas/localization/fgas_localeimp.h View 2 chunks +1 line, -4 lines 0 comments Download
M xfa/fxfa/parser/xfa_localevalue.cpp View 7 chunks +30 lines, -44 lines 11 comments Download

Messages

Total messages: 12 (4 generated)
Tom Sepez
Dan, ready for review. https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (left): https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#oldcode106 xfa/fxfa/parser/xfa_localevalue.cpp:106: if (m_pLocaleMgr) segv at 110 ...
4 years ago (2016-12-07 22:56:13 UTC) #2
dsinclair
https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (left): https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#oldcode106 xfa/fxfa/parser/xfa_localevalue.cpp:106: if (m_pLocaleMgr) On 2016/12/07 22:56:13, Tom Sepez wrote: > ...
4 years ago (2016-12-07 23:17:43 UTC) #3
Tom Sepez
https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (left): https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#oldcode106 xfa/fxfa/parser/xfa_localevalue.cpp:106: if (m_pLocaleMgr) On 2016/12/07 23:17:43, dsinclair wrote: > On ...
4 years ago (2016-12-07 23:36:36 UTC) #4
dsinclair
lgtm w/ question https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (left): https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#oldcode106 xfa/fxfa/parser/xfa_localevalue.cpp:106: if (m_pLocaleMgr) On 2016/12/07 23:36:36, Tom ...
4 years ago (2016-12-07 23:45:20 UTC) #5
Tom Sepez
https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp File xfa/fxfa/parser/xfa_localevalue.cpp (left): https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp#oldcode106 xfa/fxfa/parser/xfa_localevalue.cpp:106: if (m_pLocaleMgr) On 2016/12/07 23:36:36, Tom Sepez wrote: > ...
4 years ago (2016-12-07 23:46:12 UTC) #6
Tom Sepez
On 2016/12/07 23:45:20, dsinclair wrote: > lgtm w/ question > > https://codereview.chromium.org/2557173002/diff/1/xfa/fxfa/parser/xfa_localevalue.cpp > File xfa/fxfa/parser/xfa_localevalue.cpp ...
4 years ago (2016-12-07 23:50:05 UTC) #7
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/2557173002/1
4 years ago (2016-12-07 23:50:12 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-08 00:01:58 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/248cb27e64b3a25230f53fc2f4ab9d483fac...

Powered by Google App Engine
This is Rietveld 408576698