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

Issue 2530933002: Use unique pointers in CXFA_FMParse (Closed)

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

Description

Use unique pointers in CXFA_FMParse Replaced CXFA_FMParse's returns to be unique pointers to prevent leaks. Committed: https://pdfium.googlesource.com/pdfium/+/eb9625c04876c45862fb30e48a4fd6d5998db0e9

Patch Set 1 #

Patch Set 2 : You mad Windows? #

Total comments: 36

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+412 lines, -451 lines) Patch
M xfa/fxfa/fm2js/xfa_expression.h View 3 chunks +4 lines, -5 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_expression.cpp View 1 2 5 chunks +27 lines, -55 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_fmparse.h View 2 chunks +26 lines, -24 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_fmparse.cpp View 1 2 37 chunks +288 lines, -292 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_program.cpp View 1 2 2 chunks +12 lines, -11 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_simpleexpression.h View 3 chunks +7 lines, -5 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_simpleexpression.cpp View 1 2 4 chunks +42 lines, -53 lines 0 comments Download
M xfa/fxfa/fm2js/xfa_simpleexpression_unittest.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
npm
PTAL https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_fmparse.cpp File xfa/fxfa/fm2js/xfa_fmparse.cpp (right): https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_fmparse.cpp#newcode596 xfa/fxfa/fm2js/xfa_fmparse.cpp:596: e.reset(); e.reset() is the same as e = ...
4 years ago (2016-11-24 21:19:52 UTC) #10
Tom Sepez
Just some tidying as you see fit. https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_expression.cpp File xfa/fxfa/fm2js/xfa_expression.cpp (right): https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_expression.cpp#newcode84 xfa/fxfa/fm2js/xfa_expression.cpp:84: CXFA_FMExpression* e ...
4 years ago (2016-11-28 18:09:12 UTC) #11
Tom Sepez
lgtm
4 years ago (2016-11-28 18:09:20 UTC) #12
npm
https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_expression.cpp File xfa/fxfa/fm2js/xfa_expression.cpp (right): https://codereview.chromium.org/2530933002/diff/20001/xfa/fxfa/fm2js/xfa_expression.cpp#newcode84 xfa/fxfa/fm2js/xfa_expression.cpp:84: CXFA_FMExpression* e = m_pExpressions.at(i).get(); On 2016/11/28 18:09:11, Tom Sepez ...
4 years ago (2016-11-28 20:04:40 UTC) #13
Tom Sepez
++LGTM
4 years ago (2016-11-28 20:15:07 UTC) #14
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/2530933002/40001
4 years ago (2016-11-28 20:16:30 UTC) #16
commit-bot: I haz the power
4 years ago (2016-11-28 20:31:17 UTC) #19
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/eb9625c04876c45862fb30e48a4fd6d5998d...

Powered by Google App Engine
This is Rietveld 408576698