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

Issue 1952133002: Reland of SkOncePtr -> SkOnce (Closed)

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

Description

Reland of SkOncePtr -> SkOnce (patchset #1 id:1 of https://codereview.chromium.org/1945293004/ ) Reason for revert: The original CL was accidentally reverted instead of https://codereview.chromium.org/1945343003/, so I'm relanding the original CL. Original issue's 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 TBR=herb@google.com,mtklein@chromium.org,reed@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -175 lines) Patch
M gyp/core.gypi View 1 chunk +0 lines, -1 line 0 comments Download
D include/private/SkOncePtr.h View 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 chunk +0 lines, -3 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 +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 +8 lines, -6 lines 0 comments Download
M src/opts/opts_check_x86.cpp View 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: 5 (1 generated)
sclittle
Created Reland of SkOncePtr -> SkOnce
4 years, 7 months ago (2016-05-05 00:51:59 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1952133002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1952133002/1
4 years, 7 months ago (2016-05-05 00:52:04 UTC) #2
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-05 00:52:05 UTC) #3
commit-bot: I haz the power
4 years, 7 months ago (2016-05-05 06:52:16 UTC) #5
No LGTM from a valid reviewer yet. Please ask for an LGTM from a
full Skia committer

Powered by Google App Engine
This is Rietveld 408576698