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

Issue 1945293004: Revert of SkOncePtr -> SkOnce (Closed)

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

Description

Revert of SkOncePtr -> SkOnce (patchset #4 id:60001 of https://codereview.chromium.org/1953533002/ ) Reason for revert: broken the Mac and Linux builders, e.g.: https://build.chromium.org/p/chromium/builders/Mac/builds/15151 https://build.chromium.org/p/chromium/builders/Linux%20x64/builds/19052 Original issue's 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 TBR=herb@google.com,mtklein@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia: Committed: https://skia.googlesource.com/skia/+/7eb33da7eede34c050b865dbb1b60c3dcea7191b

Patch Set 1 #

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

Messages

Total messages: 6 (1 generated)
reed1
Created Revert of SkOncePtr -> SkOnce
4 years, 7 months ago (2016-05-05 00:14:28 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1945293004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1945293004/1
4 years, 7 months ago (2016-05-05 00:14:34 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://skia.googlesource.com/skia/+/7eb33da7eede34c050b865dbb1b60c3dcea7191b
4 years, 7 months ago (2016-05-05 00:14:47 UTC) #4
sclittle
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/1952133002/ by sclittle@chromium.org. ...
4 years, 7 months ago (2016-05-05 00:51:59 UTC) #5
reed1
4 years, 7 months ago (2016-05-05 08:28:41 UTC) #6
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/1949313003/ by reed@google.com.

The reason for reverting is: previous revert unneeded (I think).

Powered by Google App Engine
This is Rietveld 408576698