Chromium Code Reviews| Index: src/effects/SkGpuBlurUtils.cpp |
| diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
| index 23128e0ccabb83ecac6df0d3ed6844a0ebda2e3d..228555bf4a9ed1807c5b6ad908edb1a4e53c0094 100644 |
| --- a/src/effects/SkGpuBlurUtils.cpp |
| +++ b/src/effects/SkGpuBlurUtils.cpp |
| @@ -56,7 +56,6 @@ static void convolve_gaussian_1d(GrContext* context, |
| paint.reset(); |
| SkAutoTUnref<GrFragmentProcessor> conv(GrConvolutionEffect::CreateGaussian( |
| texture, direction, radius, sigma, useBounds, bounds)); |
| - paint.reset(); |
|
Justin Novosad
2014/12/22 20:11:11
This seems unrelated. Should go in a separate CL.
cwallez
2015/01/19 21:34:38
Done.
|
| paint.addColorProcessor(conv); |
| context->drawRectToRect(paint, dstRect, srcRect); |
| } |
| @@ -79,7 +78,6 @@ static void convolve_gaussian_2d(GrContext* context, |
| texture, bounds, size, 1.0, 0.0, kernelOffset, |
| useBounds ? GrTextureDomain::kClamp_Mode : GrTextureDomain::kIgnore_Mode, |
| true, sigmaX, sigmaY)); |
| - paint.reset(); |
| paint.addColorProcessor(conv); |
| context->drawRectToRect(paint, dstRect, srcRect); |
| } |