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

Issue 2536973003: Add pdfium::MakeRetain<>() helper function. (Closed)

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

Description

Add pdfium::MakeRetain<>() helper function. Part of the work to get rid of |new|s. Stripped from a forthcoming CL. Committed: https://pdfium.googlesource.com/pdfium/+/b90c71a7b8530c5bd15740d0bb680f097920cd65

Patch Set 1 #

Patch Set 2 : Fix typo in comment #

Patch Set 3 : better test #

Total comments: 4

Patch Set 4 : Another test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M core/fxcrt/cfx_retain_ptr.h View 1 2 3 3 chunks +31 lines, -1 line 0 comments Download
M core/fxcrt/cfx_retain_ptr_unittest.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (7 generated)
Tom Sepez
Wei, NPM, ready for review.
4 years ago (2016-11-29 21:24:46 UTC) #5
npm
https://codereview.chromium.org/2536973003/diff/40001/core/fxcrt/cfx_retain_ptr.h File core/fxcrt/cfx_retain_ptr.h (right): https://codereview.chromium.org/2536973003/diff/40001/core/fxcrt/cfx_retain_ptr.h#newcode29 core/fxcrt/cfx_retain_ptr.h:29: CFX_RetainPtr(std::nullptr_t ptr) {} Can this go above, with the ...
4 years ago (2016-11-29 22:25:30 UTC) #6
Tom Sepez
https://codereview.chromium.org/2536973003/diff/40001/core/fxcrt/cfx_retain_ptr.h File core/fxcrt/cfx_retain_ptr.h (right): https://codereview.chromium.org/2536973003/diff/40001/core/fxcrt/cfx_retain_ptr.h#newcode29 core/fxcrt/cfx_retain_ptr.h:29: CFX_RetainPtr(std::nullptr_t ptr) {} On 2016/11/29 22:25:30, npm wrote: > ...
4 years ago (2016-11-29 22:36:24 UTC) #7
npm
lgtm
4 years ago (2016-11-29 22:39:43 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/2536973003/60001
4 years ago (2016-11-29 22:40:21 UTC) #10
commit-bot: I haz the power
4 years ago (2016-11-29 22:56:40 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/b90c71a7b8530c5bd15740d0bb680f097920...

Powered by Google App Engine
This is Rietveld 408576698