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

Issue 2560783003: Catch stray Retains() and Releases() outside of RetainPtr<>. (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

Catch stray Retains() and Releases() outside of RetainPtr<>. The previous CLs made the code clean, so now we can mark more things private, and add friends as appropriate. Committed: https://pdfium.googlesource.com/pdfium/+/cd5e12a9ea397b48056643a7b65126395eec3174

Patch Set 1 #

Total comments: 1

Patch Set 2 : tidy #

Total comments: 1

Patch Set 3 : override required per chrome style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -27 lines) Patch
M core/fxcrt/cfx_retain_ptr.h View 2 chunks +14 lines, -3 lines 0 comments Download
M core/fxcrt/fx_extension.cpp View 1 7 chunks +15 lines, -12 lines 0 comments Download
M core/fxcrt/fx_xml_parser.cpp View 1 5 chunks +13 lines, -7 lines 0 comments Download
M xfa/fgas/crt/fgas_stream.cpp View 1 4 chunks +10 lines, -4 lines 0 comments Download
M xfa/fxfa/parser/cxfa_widetextread.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M xfa/fxfa/parser/cxfa_widetextread.cpp View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
dsinclair
lgtm https://codereview.chromium.org/2560783003/diff/1/core/fxcrt/fx_extension.cpp File core/fxcrt/fx_extension.cpp (right): https://codereview.chromium.org/2560783003/diff/1/core/fxcrt/fx_extension.cpp#newcode157 core/fxcrt/fx_extension.cpp:157: friend CFX_RetainPtr<T> pdfium::MakeRetain(Args&&... args); I didn't know you ...
4 years ago (2016-12-07 21:12:57 UTC) #4
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/2560783003/1
4 years ago (2016-12-07 21:13:03 UTC) #5
Tom Sepez
https://codereview.chromium.org/2560783003/diff/20001/core/fxcrt/fx_extension.cpp File core/fxcrt/fx_extension.cpp (right): https://codereview.chromium.org/2560783003/diff/20001/core/fxcrt/fx_extension.cpp#newcode77 core/fxcrt/fx_extension.cpp:77: template <typename T, typename... Args> Note: I moved these ...
4 years ago (2016-12-07 21:14:58 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/2560783003/20001
4 years ago (2016-12-07 21:15:14 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_xfa_rel on master.tryserver.client.pdfium (JOB_FAILED, https://build.chromium.org/p/tryserver.client.pdfium/builders/linux_xfa_rel/builds/397)
4 years ago (2016-12-07 21:24:43 UTC) #11
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/2560783003/40001
4 years ago (2016-12-07 21:31:44 UTC) #14
commit-bot: I haz the power
4 years ago (2016-12-07 21:45:46 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://pdfium.googlesource.com/pdfium/+/cd5e12a9ea397b48056643a7b65126395eec...

Powered by Google App Engine
This is Rietveld 408576698