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

Issue 1436033003: skstd -> std for unique_ptr (Closed)

Created:
5 years, 1 month ago by mtklein_C
Modified:
4 years, 11 months ago
Reviewers:
bungeman-skia, mtklein
CC:
reviews_skia.org, stephana
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

skstd -> std for unique_ptr TBR=reed@google.com No public API changes. BUG=skia:4564 Committed: https://skia.googlesource.com/skia/+/755c553c17b82bb5de3d9cc8d3b2a866ff9e9e50 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot,Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link-Trybot;client.skia:Perf-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Trybot,Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Trybot Committed: https://skia.googlesource.com/skia/+/06189155d987db5c7e69015f6ea87c2168d6a065 Committed: https://skia.googlesource.com/skia/+/70e8dfca4a7f5bce97b8021a6e378c4828b09c8c Committed: https://skia.googlesource.com/skia/+/dadfc245cc9a0279ff7b73da3344f2ca5d139907 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1436033003 Committed: https://skia.googlesource.com/skia/+/ccf1de0d9aa75f29829f1c4c462214b991fd8c9e

Patch Set 1 #

Patch Set 2 : missed #

Patch Set 3 : rebase #

Patch Set 4 : ? #

Patch Set 5 : revert #

Patch Set 6 : static_cast #

Patch Set 7 : tmpl #

Patch Set 8 : type the 0 #

Patch Set 9 : spot fix #

Patch Set 10 : ugly clang workaround #

Patch Set 11 : ugly clang workaround 2 #

Patch Set 12 : rebase #

Patch Set 13 : !! #

Patch Set 14 : revert ugly hack #

Patch Set 15 : guh #

Patch Set 16 : rebase #

Patch Set 17 : Android fix? #

Total comments: 1

Patch Set 18 : rebase, retry #

Patch Set 19 : rm #

Patch Set 20 : compose #

Patch Set 21 : compose more #

Patch Set 22 : missed #

Patch Set 23 : more composition #

Patch Set 24 : more functions #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -531 lines) Patch
M gyp/core.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -1 line 0 comments Download
M include/core/SkRefCnt.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +15 lines, -5 lines 0 comments Download
M include/private/SkOncePtr.h View 1 3 chunks +3 lines, -3 lines 0 comments Download
M include/private/SkTemplates.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 4 chunks +37 lines, -18 lines 0 comments Download
D include/private/SkUniquePtr.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +0 lines, -401 lines 0 comments Download
M src/core/SkSharedMutex.h View 2 chunks +4 lines, -4 lines 0 comments Download
M tests/CPlusPlusEleven.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -99 lines 0 comments Download

Messages

Total messages: 127 (64 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/1
5 years, 1 month ago (2015-11-12 18:25:02 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4125) Build-Ubuntu-Clang-x86_64-Debug-Trybot on ...
5 years, 1 month ago (2015-11-12 18:25:51 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/20001
5 years, 1 month ago (2015-11-12 18:31:31 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.8-Clang-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.8-Clang-x86_64-Release-Trybot/builds/6565)
5 years, 1 month ago (2015-11-12 18:33:10 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/20001
5 years, 1 month ago (2015-11-16 17:05:56 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4237) Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on ...
5 years, 1 month ago (2015-11-16 17:06:38 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/40001
5 years, 1 month ago (2015-11-16 17:28:03 UTC) #14
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/4231) Build-Win-MSVC-x86_64-Debug-Trybot on ...
5 years, 1 month ago (2015-11-16 17:30:03 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/60001
5 years, 1 month ago (2015-11-16 17:55:58 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/4233) Build-Win-MSVC-x86_64-Debug-Trybot on ...
5 years, 1 month ago (2015-11-16 17:58:11 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/100001
5 years, 1 month ago (2015-11-16 18:08:26 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4293)
5 years, 1 month ago (2015-11-16 18:10:26 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/120001
5 years, 1 month ago (2015-11-16 18:15:56 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4242) Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on ...
5 years, 1 month ago (2015-11-16 18:16:46 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/140001
5 years, 1 month ago (2015-11-16 18:24:06 UTC) #30
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/4296)
5 years, 1 month ago (2015-11-16 18:26:27 UTC) #32
mtklein
5 years, 1 month ago (2015-11-16 20:42:47 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/160001
5 years, 1 month ago (2015-11-16 20:45:24 UTC) #36
bungeman-skia
lgtm
5 years, 1 month ago (2015-11-16 20:53:40 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/160001
5 years, 1 month ago (2015-11-16 20:53:55 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/755c553c17b82bb5de3d9cc8d3b2a866ff9e9e50
5 years, 1 month ago (2015-11-16 20:57:56 UTC) #44
mtklein
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1446413002/ by mtklein@google.com. ...
5 years, 1 month ago (2015-11-16 21:05:24 UTC) #45
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/200001
5 years, 1 month ago (2015-11-16 21:30:46 UTC) #48
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-Trybot/builds/4182) Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-Shared-Trybot on ...
5 years, 1 month ago (2015-11-16 21:31:31 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/220001
5 years, 1 month ago (2015-11-16 21:35:54 UTC) #52
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link-Trybot/builds/24)
5 years, 1 month ago (2015-11-16 21:37:59 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/260001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/260001
5 years, 1 month ago (2015-11-16 21:45:27 UTC) #56
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Ubuntu-Clang-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-Clang-x86_64-Debug-Trybot/builds/4259)
5 years, 1 month ago (2015-11-16 21:47:36 UTC) #58
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/280001
5 years, 1 month ago (2015-11-16 22:11:49 UTC) #60
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Mac10.9-Clang-x86_64-Release-CMake-Trybot/builds/25)
5 years, 1 month ago (2015-11-16 22:15:58 UTC) #62
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years, 1 month ago (2015-11-23 16:58:26 UTC) #64
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years, 1 month ago (2015-11-23 17:05:55 UTC) #68
commit-bot: I haz the power
Committed patchset #16 (id:300001) as https://skia.googlesource.com/skia/+/06189155d987db5c7e69015f6ea87c2168d6a065
5 years, 1 month ago (2015-11-23 17:12:35 UTC) #69
mtklein
A revert of this CL (patchset #16 id:300001) has been created in https://codereview.chromium.org/1467333002/ by mtklein@google.com. ...
5 years, 1 month ago (2015-11-23 17:19:13 UTC) #70
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years ago (2015-11-25 16:32:25 UTC) #73
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Perf-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, no build URL)
5 years ago (2015-11-25 16:32:47 UTC) #75
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years ago (2015-11-30 13:05:02 UTC) #77
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Perf-Mac10.9-Clang-MacMini6.2-CPU-AVX-x86_64-Release-Trybot on client.skia.compile (JOB_FAILED, no build URL)
5 years ago (2015-11-30 13:05:42 UTC) #79
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years ago (2015-11-30 13:15:07 UTC) #82
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-30 13:26:00 UTC) #84
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/300001
5 years ago (2015-11-30 15:06:11 UTC) #86
commit-bot: I haz the power
Committed patchset #16 (id:300001) as https://skia.googlesource.com/skia/+/70e8dfca4a7f5bce97b8021a6e378c4828b09c8c
5 years ago (2015-11-30 15:07:05 UTC) #88
mtklein
A revert of this CL (patchset #16 id:300001) has been created in https://codereview.chromium.org/1482343002/ by mtklein@google.com. ...
5 years ago (2015-11-30 15:17:19 UTC) #89
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/320001
5 years ago (2015-12-01 16:44:36 UTC) #93
commit-bot: I haz the power
Try jobs failed on following builders: Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Trybot/builds/18)
5 years ago (2015-12-01 17:02:38 UTC) #95
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/320001
5 years ago (2015-12-01 20:19:04 UTC) #97
commit-bot: I haz the power
Try jobs failed on following builders: Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Trybot on client.skia (JOB_FAILED, http://build.chromium.org/p/client.skia/builders/Test-iOS-Clang-iPad4-GPU-SGX554-Arm7-Release-Trybot/builds/19)
5 years ago (2015-12-01 20:44:34 UTC) #99
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/320001
5 years ago (2015-12-02 18:21:05 UTC) #101
commit-bot: I haz the power
Committed patchset #17 (id:320001) as https://skia.googlesource.com/skia/+/dadfc245cc9a0279ff7b73da3344f2ca5d139907
5 years ago (2015-12-02 18:46:21 UTC) #103
mtklein
A revert of this CL (patchset #17 id:320001) has been created in https://codereview.chromium.org/1498583002/ by mtklein@google.com. ...
5 years ago (2015-12-02 20:31:15 UTC) #104
bungeman-skia
https://codereview.chromium.org/1436033003/diff/320001/include/core/SkRefCnt.h File include/core/SkRefCnt.h (right): https://codereview.chromium.org/1436033003/diff/320001/include/core/SkRefCnt.h#newcode194 include/core/SkRefCnt.h:194: Does adding something like using inherited_t = std::unique_ptr<T, SkTUnref<T>>; ...
5 years ago (2015-12-02 22:27:13 UTC) #105
bungeman-skia
On 2015/12/02 22:27:13, bungeman1 wrote: > https://codereview.chromium.org/1436033003/diff/320001/include/core/SkRefCnt.h > File include/core/SkRefCnt.h (right): > > https://codereview.chromium.org/1436033003/diff/320001/include/core/SkRefCnt.h#newcode194 > ...
5 years ago (2015-12-02 22:50:37 UTC) #106
mtklein
On 2015/12/02 at 22:50:37, bungeman wrote: > On 2015/12/02 22:27:13, bungeman1 wrote: > > https://codereview.chromium.org/1436033003/diff/320001/include/core/SkRefCnt.h ...
5 years ago (2015-12-02 22:52:00 UTC) #107
mtklein
On 2015/12/02 at 22:52:00, mtklein wrote: > On 2015/12/02 at 22:50:37, bungeman wrote: > > ...
5 years ago (2015-12-02 22:52:30 UTC) #108
bungeman-skia
On 2015/12/02 22:52:30, mtklein wrote: > On 2015/12/02 at 22:52:00, mtklein wrote: > > On ...
5 years ago (2015-12-03 16:24:30 UTC) #109
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/400001
4 years, 11 months ago (2016-01-25 02:35:24 UTC) #113
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/420001
4 years, 11 months ago (2016-01-25 02:38:06 UTC) #115
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/5567)
4 years, 11 months ago (2016-01-25 02:40:09 UTC) #117
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/460001
4 years, 11 months ago (2016-01-25 02:46:58 UTC) #119
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1436033003/460001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1436033003/460001
4 years, 11 months ago (2016-01-25 03:03:33 UTC) #123
commit-bot: I haz the power
Committed patchset #24 (id:460001) as https://skia.googlesource.com/skia/+/ccf1de0d9aa75f29829f1c4c462214b991fd8c9e
4 years, 11 months ago (2016-01-25 03:18:59 UTC) #125
mtklein
A revert of this CL (patchset #24 id:460001) has been created in https://codereview.chromium.org/1626873004/ by mtklein@google.com. ...
4 years, 11 months ago (2016-01-25 03:49:09 UTC) #126
mtklein
4 years, 11 months ago (2016-01-25 03:56:02 UTC) #127
Message was sent while issue was closed.
I'm starting to think we should just give up here and implement
SkAutoTDelete/SkAutoTUnref/SkAutoCallVProc/SkAutoCallIProc manually like we used
to.

Powered by Google App Engine
This is Rietveld 408576698