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

Issue 1130053003: Support arrays in nonstd::unique_ptr<>. (Closed)

Created:
5 years, 7 months ago by Tom Sepez
Modified:
5 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
Visibility:
Public.

Description

Support arrays in nonstd::unique_ptr<>. This mimics the std:: behaviour. R=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/21031ad28a73f0633e720997d310440c5bc31ec5

Patch Set 1 #

Total comments: 4

Patch Set 2 : Comments #

Patch Set 3 : Comments, kill dead code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -65 lines) Patch
M core/include/fxcrt/fx_basic.h View 1 2 1 chunk +0 lines, -26 lines 0 comments Download
M core/src/fpdfdoc/doc_bookmark.cpp View 1 chunk +2 lines, -4 lines 0 comments Download
M third_party/base/nonstd_unique_ptr.h View 1 2 5 chunks +93 lines, -35 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Tom Sepez
Lei, for review. Thanks.
5 years, 7 months ago (2015-05-06 23:51:14 UTC) #2
Lei Zhang
lgtm Oh, I guess nonstd::unique_ptr doesn't do custom deleters yet. So we'll have to add ...
5 years, 7 months ago (2015-05-06 23:59:36 UTC) #3
Tom Sepez
> Oh, I guess nonstd::unique_ptr doesn't do custom deleters yet. So we'll have to > ...
5 years, 7 months ago (2015-05-07 00:04:42 UTC) #4
Tom Sepez
See PS3 https://codereview.chromium.org/1130053003/diff/1/third_party/base/nonstd_unique_ptr.h File third_party/base/nonstd_unique_ptr.h (right): https://codereview.chromium.org/1130053003/diff/1/third_party/base/nonstd_unique_ptr.h#newcode43 third_party/base/nonstd_unique_ptr.h:43: // dereference it, you get the threadsafety ...
5 years, 7 months ago (2015-05-07 00:07:41 UTC) #5
Lei Zhang
lgtm
5 years, 7 months ago (2015-05-07 00:26:39 UTC) #6
Tom Sepez
5 years, 7 months ago (2015-05-07 00:29:34 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
21031ad28a73f0633e720997d310440c5bc31ec5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698