From 7c249e531900929c2fe2cdde76619fa6d2538c49 Mon Sep 17 00:00:00 2001 From: mtklein Date: Sun, 21 Feb 2016 10:54:19 -0800 Subject: 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 --- gm/showmiplevels.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm') diff --git a/gm/showmiplevels.cpp b/gm/showmiplevels.cpp index 27d47e564d..d3462b7803 100644 --- a/gm/showmiplevels.cpp +++ b/gm/showmiplevels.cpp @@ -66,8 +66,8 @@ static SkBitmap make_bitmap3(int w, int h) { SkScalar s = SkIntToScalar(w); Sk4f p(s, -s, -s, s); Sk4f d(5); - while (p.kth<1>() < s) { - canvas.drawLine(p.kth<0>(),p.kth<1>(), p.kth<2>(), p.kth<3>(), paint); + while (p[1] < s) { + canvas.drawLine(p[0],p[1], p[2], p[3], paint); p = p + d; } return bm; -- cgit v1.2.3