diff options
Diffstat (limited to 'src/effects/SkGpuBlurUtils.cpp')
-rw-r--r-- | src/effects/SkGpuBlurUtils.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp index ec37505d3e..f0c10c2871 100644 --- a/src/effects/SkGpuBlurUtils.cpp +++ b/src/effects/SkGpuBlurUtils.cpp @@ -275,7 +275,7 @@ GrTexture* GaussianBlur(GrContext* context, SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); SkAutoTUnref<GrDrawContext> dstDrawContext( - context->drawContext(dstTexture->asRenderTarget())); + context->drawContext(dstTexture->asRenderTarget())); if (!dstDrawContext) { return nullptr; } @@ -309,7 +309,7 @@ GrTexture* GaussianBlur(GrContext* context, SkRect dstRect = SkRect::MakeWH(srcRect.width(), srcRect.height()); SkAutoTUnref<GrDrawContext> dstDrawContext( - context->drawContext(dstTexture->asRenderTarget())); + context->drawContext(dstTexture->asRenderTarget())); if (!dstDrawContext) { return nullptr; } @@ -347,7 +347,7 @@ GrTexture* GaussianBlur(GrContext* context, scale_rect(&dstRect, (float) scaleFactorX, (float) scaleFactorY); SkAutoTUnref<GrDrawContext> dstDrawContext( - context->drawContext(dstTexture->asRenderTarget())); + context->drawContext(dstTexture->asRenderTarget())); if (!dstDrawContext) { return nullptr; } |