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

Issue 1801823003: Remove legacy scoped_ptr implementation. (Closed)

Created:
4 years, 9 months ago by dcheng
Modified:
4 years, 9 months ago
Reviewers:
danakj, Nico
CC:
chromium-reviews, gavinp+memory_chromium.org, Nico
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove legacy scoped_ptr implementation. scoped_ptr is just a type alias now for std::unique_ptr on all platforms. BUG=554298 Committed: https://crrev.com/ba7fcd6928dbcb974e28fff928e34818ad40bed6 Cr-Commit-Position: refs/heads/master@{#381132}

Patch Set 1 #

Patch Set 2 : Delete unit test #

Patch Set 3 : Delete operators as well #

Patch Set 4 : Restore operators #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1338 lines) Patch
M base/BUILD.gn View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/base.gyp View 1 1 chunk +0 lines, -1 line 0 comments Download
M base/memory/scoped_ptr.h View 3 3 chunks +3 lines, -508 lines 0 comments Download
D base/memory/scoped_ptr_unittest.cc View 1 1 chunk +0 lines, -828 lines 0 comments Download

Messages

Total messages: 18 (5 generated)
dcheng
Whee. I'll clean up the headers slowly after this.
4 years, 9 months ago (2016-03-14 18:31:59 UTC) #2
danakj
Amaaaazing. LGTM. Please PSA once this lands, people should start writing unique_ptr.
4 years, 9 months ago (2016-03-14 18:34:09 UTC) #3
dcheng
On 2016/03/14 at 18:34:09, danakj wrote: > Amaaaazing. LGTM. > > Please PSA once this ...
4 years, 9 months ago (2016-03-14 19:40:31 UTC) #4
Nico
maybe we can put the overloads in a separate file (base/unique_ptr_comparison.h or so), include that ...
4 years, 9 months ago (2016-03-14 19:43:04 UTC) #6
dcheng
On 2016/03/14 at 19:43:04, thakis wrote: > maybe we can put the overloads in a ...
4 years, 9 months ago (2016-03-14 19:48:53 UTC) #7
dcheng
On 2016/03/14 at 19:43:04, thakis wrote: > maybe we can put the overloads in a ...
4 years, 9 months ago (2016-03-14 19:50:57 UTC) #8
dcheng
Also, an argument against adding unique_ptr_comparisons.h: at the very least, it's going to have to ...
4 years, 9 months ago (2016-03-14 20:00:35 UTC) #9
Nico
If it's not needed anywhere, then I guess let's remove the operators too in a ...
4 years, 9 months ago (2016-03-14 21:41:32 UTC) #10
dcheng
On 2016/03/14 at 21:41:32, thakis wrote: > If it's not needed anywhere, then I guess ...
4 years, 9 months ago (2016-03-14 22:30:21 UTC) #11
Nico
lgtm+++++++++++++++
4 years, 9 months ago (2016-03-14 22:31:32 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1801823003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1801823003/60001
4 years, 9 months ago (2016-03-14 22:35:21 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-15 00:29:23 UTC) #16
commit-bot: I haz the power
4 years, 9 months ago (2016-03-15 00:30:29 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ba7fcd6928dbcb974e28fff928e34818ad40bed6
Cr-Commit-Position: refs/heads/master@{#381132}

Powered by Google App Engine
This is Rietveld 408576698