From 09dfc4759e99229e7c74891a88596e8b9b3d9026 Mon Sep 17 00:00:00 2001 From: Robert Phillips Date: Wed, 13 Sep 2017 15:25:47 -0400 Subject: Pull non-substantive changes out of explicit GPU resource allocation CL Change-Id: Ib6a289553ecd15c722599b7dc0d347a7800801cb Reviewed-on: https://skia-review.googlesource.com/46284 Reviewed-by: Brian Osman Commit-Queue: Robert Phillips --- gm/blurrect.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gm/blurrect.cpp') diff --git a/gm/blurrect.cpp b/gm/blurrect.cpp index 1e245712fe..54f3c216c0 100644 --- a/gm/blurrect.cpp +++ b/gm/blurrect.cpp @@ -58,7 +58,7 @@ static void draw_donut_skewed(SkCanvas* canvas, const SkRect& r, const SkPaint& /* * Spits out a dummy gradient to test blur with shader on paint */ -static sk_sp MakeRadial() { +static sk_sp make_radial() { SkPoint pts[2] = { { 0, 0 }, { SkIntToScalar(100), SkIntToScalar(100) } @@ -123,7 +123,7 @@ protected: paint.setAlpha(fAlpha); SkPaint paintWithRadial = paint; - paintWithRadial.setShader(MakeRadial()); + paintWithRadial.setShader(make_radial()); constexpr Proc procs[] = { fill_rect, draw_donut, draw_donut_skewed -- cgit v1.2.3