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

Issue 1330503006: Add skstd::unique_ptr and use it. (Closed)

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

Description

Add skstd::unique_ptr and use it. TBR=bsalomon@google.com The one gpu include change is just to fix swap in implementation. Committed: https://skia.googlesource.com/skia/+/a3434d83cf988f930a73aaca5ba88f6f6fa8f547

Patch Set 1 #

Patch Set 2 : Clean up test a little. #

Total comments: 5

Patch Set 3 : Windows x86_64. #

Patch Set 4 : Fix adding references. #

Patch Set 5 : Ensure initialization. #

Patch Set 6 : Test should clean up after itself. #

Total comments: 4

Patch Set 7 : Formatting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+634 lines, -137 lines) Patch
M include/gpu/gl/GrGLExtensions.h View 1 chunk +1 line, -1 line 0 comments Download
M include/private/SkFunction.h View 3 chunks +4 lines, -3 lines 0 comments Download
M include/private/SkTLogic.h View 1 2 3 5 chunks +98 lines, -6 lines 0 comments Download
M include/private/SkTemplates.h View 6 chunks +26 lines, -123 lines 0 comments Download
A include/private/SkUniquePtr.h View 1 2 3 4 5 6 1 chunk +396 lines, -0 lines 0 comments Download
A include/private/SkUtility.h View 1 chunk +32 lines, -0 lines 0 comments Download
M tests/CPlusPlusEleven.cpp View 1 2 3 4 5 2 chunks +77 lines, -4 lines 0 comments Download

Messages

Total messages: 25 (10 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/1330503006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330503006/20001
5 years, 3 months ago (2015-09-03 18:46:44 UTC) #2
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/5443)
5 years, 3 months ago (2015-09-03 18:48:09 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/1330503006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330503006/60001
5 years, 3 months ago (2015-09-03 21:11:45 UTC) #6
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/3077)
5 years, 3 months ago (2015-09-03 21:13:46 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/1330503006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330503006/100001
5 years, 3 months ago (2015-09-03 23:14:22 UTC) #10
bungeman-skia
The following comments explain why the various changes were made along the way so far ...
5 years, 3 months ago (2015-09-03 23:15:17 UTC) #11
bungeman-skia
I wanted to know how it worked, so I wrote one.
5 years, 3 months ago (2015-09-03 23:15:52 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-03 23:19:24 UTC) #15
mtklein
https://codereview.chromium.org/1330503006/diff/100001/include/private/SkUniquePtr.h File include/private/SkUniquePtr.h (right): https://codereview.chromium.org/1330503006/diff/100001/include/private/SkUniquePtr.h#newcode20 include/private/SkUniquePtr.h:20: default_delete(const default_delete<U>&) /*noexcept*/ {} funky indent? https://codereview.chromium.org/1330503006/diff/100001/include/private/SkUniquePtr.h#newcode181 include/private/SkUniquePtr.h:181: //explicit ...
5 years, 3 months ago (2015-09-04 13:25:43 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/1330503006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330503006/120001
5 years, 3 months ago (2015-09-04 19:19:52 UTC) #18
bungeman-skia
https://codereview.chromium.org/1330503006/diff/100001/include/private/SkUniquePtr.h File include/private/SkUniquePtr.h (right): https://codereview.chromium.org/1330503006/diff/100001/include/private/SkUniquePtr.h#newcode20 include/private/SkUniquePtr.h:20: default_delete(const default_delete<U>&) /*noexcept*/ {} On 2015/09/04 13:25:42, mtklein wrote: ...
5 years, 3 months ago (2015-09-04 19:20:19 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-04 19:25:17 UTC) #21
mtklein
lgtm
5 years, 3 months ago (2015-09-04 19:41:23 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1330503006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1330503006/120001
5 years, 3 months ago (2015-09-07 19:40:48 UTC) #24
commit-bot: I haz the power
5 years, 3 months ago (2015-09-07 19:45:56 UTC) #25
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://skia.googlesource.com/skia/+/a3434d83cf988f930a73aaca5ba88f6f6fa8f547

Powered by Google App Engine
This is Rietveld 408576698