commit | ffa4a9213b4e754adc210fa02a3c4b1ae8d3b6d0 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Thu May 05 16:05:56 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu May 05 16:05:56 2016 -0700 |
tree | e6f20243b4ed7c36e36302d914e255dfa6799217 | |
parent | 4017007b288087c07c596baa9fe8ecf485bca1c3 [diff] |
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 Review-Url: https://codereview.chromium.org/1953533002