aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/opts
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-05-05 16:05:56 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-05 16:05:56 -0700
commitffa4a9213b4e754adc210fa02a3c4b1ae8d3b6d0 (patch)
treee6f20243b4ed7c36e36302d914e255dfa6799217 /src/opts
parent4017007b288087c07c596baa9fe8ecf485bca1c3 (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
Diffstat (limited to 'src/opts')
-rw-r--r--src/opts/opts_check_x86.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/opts/opts_check_x86.cpp b/src/opts/opts_check_x86.cpp
index 2cb2e65bf1..dacb49bc91 100644
--- a/src/opts/opts_check_x86.cpp
+++ b/src/opts/opts_check_x86.cpp
@@ -13,7 +13,6 @@
#include "SkBlitRow.h"
#include "SkBlitRow_opts_SSE2.h"
#include "SkCpu.h"
-#include "SkOncePtr.h"
#include "SkRTConf.h"