diff options
author | mtklein <mtklein@chromium.org> | 2016-02-21 10:54:19 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-21 10:54:19 -0800 |
commit | 7c249e531900929c2fe2cdde76619fa6d2538c49 (patch) | |
tree | c6473872ddc5eaac740016ca30d469a7afe44b5d /src/core/SkScan_Hairline.cpp | |
parent | d98ef6377269e3596423225ab922301ed40529a0 (diff) |
SkNx: kth<...>() -> [...]
Just some syntax cleanup. No real change: kth<...>() was calling [...] already.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1714363002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review URL: https://codereview.chromium.org/1714363002
Diffstat (limited to 'src/core/SkScan_Hairline.cpp')
-rw-r--r-- | src/core/SkScan_Hairline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScan_Hairline.cpp b/src/core/SkScan_Hairline.cpp index 2b2194b0d3..9b21c421ed 100644 --- a/src/core/SkScan_Hairline.cpp +++ b/src/core/SkScan_Hairline.cpp @@ -326,7 +326,7 @@ static SkRect compute_nocheck_cubic_bounds(const SkPoint pts[4]) { min = Sk2s::Min(min, pair); max = Sk2s::Max(max, pair); } - return { min.kth<0>(), min.kth<1>(), max.kth<0>(), max.kth<1>() }; + return { min[0], min[1], max[0], max[1] }; } static bool is_inverted(const SkRect& r) { |