From 9d524f22bfde5dc3dc8f48e1be39bdebd3bb0304 Mon Sep 17 00:00:00 2001 From: halcanary Date: Tue, 29 Mar 2016 09:03:52 -0700 Subject: Style bikeshed - remove extraneous whitespace GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1842753002 Review URL: https://codereview.chromium.org/1842753002 --- samplecode/SampleFilterQuality.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'samplecode/SampleFilterQuality.cpp') diff --git a/samplecode/SampleFilterQuality.cpp b/samplecode/SampleFilterQuality.cpp index ee998456c1..2c3eb4c11e 100644 --- a/samplecode/SampleFilterQuality.cpp +++ b/samplecode/SampleFilterQuality.cpp @@ -54,7 +54,7 @@ static sk_sp make_image() { SkPaint paint; paint.setShader(make_shader(SkRect::MakeWH(N, N))); - + canvas->drawPath(path, paint); return surface->makeImageSnapshot(); } @@ -63,7 +63,7 @@ static sk_sp zoom_up(SkSurface* origSurf, SkImage* orig) { const SkScalar S = 16; // amount to scale up const int D = 2; // dimension scaling for the offscreen // since we only view the center, don't need to produce the entire thing - + SkImageInfo info = SkImageInfo::MakeN32(orig->width() * D, orig->height() * D, kOpaque_SkAlphaType); auto surface(origSurf->makeSurface(info)); @@ -73,7 +73,7 @@ static sk_sp zoom_up(SkSurface* origSurf, SkImage* orig) { canvas->translate(-SkScalarHalf(orig->width()) * (S - D) / S, -SkScalarHalf(orig->height()) * (S - D) / S); canvas->drawImage(orig, 0, 0, nullptr); - + if (S > 3) { SkPaint paint; paint.setColor(SK_ColorWHITE); -- cgit v1.2.3