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

Issue 1953533002: SkOncePtr -> SkOnce (Closed)

Created:
4 years, 7 months ago by mtklein_C
Modified:
4 years, 7 months ago
Reviewers:
herb_g, mtklein
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkOncePtr -> SkOnce It's always nice to kill off a synchronization primitive. And while less terse, I think this new code reads more clearly. ... and, SkOncePtr's tests were the only thing now using sk_num_cores() outside of SkTaskGroup, so I've hidden it as static inside SkTaskGroup.cpp. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1953533002 CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot Committed: https://skia.googlesource.com/skia/+/9bd3fc7fa9bb7cad050bd619aa93d4c48ebb5c02 Committed: https://skia.googlesource.com/skia/+/ffa4a9213b4e754adc210fa02a3c4b1ae8d3b6d0

Patch Set 1 #

Patch Set 2 : stray #

Patch Set 3 : bye bye #

Patch Set 4 : hide sk_num_cores() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -174 lines) Patch
M gyp/core.gypi View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D include/private/SkOncePtr.h View 1 2 1 chunk +0 lines, -65 lines 0 comments Download
M src/core/SkColorSpace.cpp View 3 chunks +10 lines, -8 lines 0 comments Download
M src/core/SkData.cpp View 2 chunks +6 lines, -4 lines 0 comments Download
M src/core/SkFontMgr.cpp View 2 chunks +8 lines, -5 lines 0 comments Download
M src/core/SkGlyphCache.cpp View 2 chunks +6 lines, -3 lines 0 comments Download
M src/core/SkImageFilterCache.cpp View 2 chunks +6 lines, -3 lines 0 comments Download
M src/core/SkMessageBus.h View 2 chunks +5 lines, -3 lines 0 comments Download
M src/core/SkMiniRecorder.cpp View 3 chunks +7 lines, -3 lines 0 comments Download
M src/core/SkPathRef.cpp View 3 chunks +10 lines, -8 lines 0 comments Download
M src/core/SkTaskGroup.h View 1 2 3 1 chunk +0 lines, -3 lines 0 comments Download
M src/core/SkTaskGroup.cpp View 1 2 3 2 chunks +11 lines, -11 lines 0 comments Download
M src/core/SkTypeface.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M src/core/SkXfermode.cpp View 3 chunks +12 lines, -9 lines 0 comments Download
M src/fonts/SkRemotableFontMgr.cpp View 2 chunks +5 lines, -3 lines 0 comments Download
M src/lazy/SkDiscardableMemoryPool.cpp View 2 chunks +7 lines, -5 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 1 1 chunk +0 lines, -1 line 0 comments Download
M src/ports/SkFontHost_mac.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M src/utils/SkEventTracer.cpp View 3 chunks +6 lines, -4 lines 0 comments Download
D tests/OncePtrTest.cpp View 1 chunk +0 lines, -26 lines 0 comments Download

Messages

Total messages: 37 (22 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/1953533002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/1
4 years, 7 months ago (2016-05-04 19:49:13 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953533002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/20001
4 years, 7 months ago (2016-05-04 20:25:15 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 20:43:25 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/1953533002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/40001
4 years, 7 months ago (2016-05-04 21:06:43 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/1953533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/60001
4 years, 7 months ago (2016-05-04 21:15:23 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-04 21:26:55 UTC) #19
mtklein_C
4 years, 7 months ago (2016-05-04 21:29:09 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/60001
4 years, 7 months ago (2016-05-04 21:29:13 UTC) #23
commit-bot: I haz the power
Note for Reviewers: The CQ is waiting for an approval. If you believe that the ...
4 years, 7 months ago (2016-05-04 21:29:15 UTC) #24
herb_g
lgtm
4 years, 7 months ago (2016-05-04 21:39:33 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/9bd3fc7fa9bb7cad050bd619aa93d4c48ebb5c02
4 years, 7 months ago (2016-05-04 21:40:21 UTC) #27
reed1
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1945293004/ by reed@google.com. ...
4 years, 7 months ago (2016-05-05 00:14:27 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/1953533002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/80001
4 years, 7 months ago (2016-05-05 13:27:25 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953533002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953533002/60001
4 years, 7 months ago (2016-05-05 22:51:21 UTC) #35
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 23:06:02 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://skia.googlesource.com/skia/+/ffa4a9213b4e754adc210fa02a3c4b1ae8d3b6d0

Powered by Google App Engine
This is Rietveld 408576698