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

Issue 1981003002: Replace Release() { delete this; } in fde_xml_imp.h (Closed)

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

Description

Replace Release() { delete this; } in fde_xml_imp.h Committed: https://pdfium.googlesource.com/pdfium/+/fa34e805fd03ba81bcfe1148cf96b24fe63b39a0

Patch Set 1 #

Patch Set 2 : Remove release from IXFA_Parser #

Patch Set 3 : One more unique_ptr #

Total comments: 12

Patch Set 4 : Address review comments. #

Total comments: 2

Patch Set 5 : Consistent use of "override". #

Patch Set 6 : Reinstate nulling of member. #

Patch Set 7 : Revert accident with editor. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -130 lines) Patch
M testing/libfuzzer/pdf_xml_fuzzer.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M xfa/fde/xml/fde_xml_imp.h View 1 2 3 4 10 chunks +45 lines, -44 lines 0 comments Download
M xfa/fde/xml/fde_xml_imp.cpp View 1 2 3 6 chunks +33 lines, -23 lines 0 comments Download
M xfa/fxfa/app/xfa_ffdoc.cpp View 1 2 3 4 5 4 chunks +6 lines, -6 lines 0 comments Download
M xfa/fxfa/parser/xfa_document.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_document_imp.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_document_serialize.cpp View 1 2 3 3 chunks +12 lines, -15 lines 0 comments Download
M xfa/fxfa/parser/xfa_object_imp.cpp View 1 2 3 3 chunks +9 lines, -17 lines 0 comments Download
M xfa/fxfa/parser/xfa_parser.h View 1 1 chunk +1 line, -1 line 0 comments Download
M xfa/fxfa/parser/xfa_parser_imp.h View 1 2 3 4 chunks +8 lines, -10 lines 0 comments Download
M xfa/fxfa/parser/xfa_parser_imp.cpp View 1 2 3 chunks +9 lines, -13 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
Tom Sepez
Lei, for review.
4 years, 7 months ago (2016-05-16 20:06:12 UTC) #2
Lei Zhang
https://codereview.chromium.org/1981003002/diff/40001/xfa/fde/xml/fde_xml_imp.h File xfa/fde/xml/fde_xml_imp.h (right): https://codereview.chromium.org/1981003002/diff/40001/xfa/fde/xml/fde_xml_imp.h#newcode74 xfa/fde/xml/fde_xml_imp.h:74: ~CFDE_XMLInstruction() override {} Move the impl to xfa/fde/xml/fde_xml_imp.cpp ? ...
4 years, 7 months ago (2016-05-16 20:38:09 UTC) #3
Tom Sepez
https://codereview.chromium.org/1981003002/diff/40001/xfa/fde/xml/fde_xml_imp.h File xfa/fde/xml/fde_xml_imp.h (right): https://codereview.chromium.org/1981003002/diff/40001/xfa/fde/xml/fde_xml_imp.h#newcode74 xfa/fde/xml/fde_xml_imp.h:74: ~CFDE_XMLInstruction() override {} On 2016/05/16 20:38:08, Lei Zhang wrote: ...
4 years, 7 months ago (2016-05-16 21:29:06 UTC) #4
Lei Zhang
lgtm https://codereview.chromium.org/1981003002/diff/60001/xfa/fde/xml/fde_xml_imp.cpp File xfa/fde/xml/fde_xml_imp.cpp (right): https://codereview.chromium.org/1981003002/diff/60001/xfa/fde/xml/fde_xml_imp.cpp#newcode932 xfa/fde/xml/fde_xml_imp.cpp:932: if (!pXMLParser) I don't think this can be ...
4 years, 7 months ago (2016-05-16 21:34:30 UTC) #5
Tom Sepez
https://codereview.chromium.org/1981003002/diff/60001/xfa/fde/xml/fde_xml_imp.cpp File xfa/fde/xml/fde_xml_imp.cpp (right): https://codereview.chromium.org/1981003002/diff/60001/xfa/fde/xml/fde_xml_imp.cpp#newcode932 xfa/fde/xml/fde_xml_imp.cpp:932: if (!pXMLParser) On 2016/05/16 21:34:30, Lei Zhang wrote: > ...
4 years, 7 months ago (2016-05-16 21:36:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1981003002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1981003002/120001
4 years, 7 months ago (2016-05-16 22:42:42 UTC) #9
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://pdfium.googlesource.com/pdfium/+/fa34e805fd03ba81bcfe1148cf96b24fe63b39a0
4 years, 7 months ago (2016-05-16 22:43:02 UTC) #11
Lei Zhang
4 years, 7 months ago (2016-05-16 22:57:18 UTC) #12
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.chromium.org/1980223002/ by thestig@chromium.org.

The reason for reverting is: Broke the ASAN Bot.

Powered by Google App Engine
This is Rietveld 408576698