Index: src/effects/SkGpuBlurUtils.cpp |
diff --git a/src/effects/SkGpuBlurUtils.cpp b/src/effects/SkGpuBlurUtils.cpp |
index fd27cc36000f036b0251d07ec04cf6c90384d646..5690c2893f71e0ef4b777802d9d5e5fefb8332b4 100644 |
--- a/src/effects/SkGpuBlurUtils.cpp |
+++ b/src/effects/SkGpuBlurUtils.cpp |
@@ -231,7 +231,7 @@ GrTexture* GaussianBlur(GrContext* context, |
dstDrawContext->drawNonAARectToRect(dstTexture->asRenderTarget(), clip, paint, |
SkMatrix::I(), dstRect, srcRect); |
- srcDrawContext.swap(&dstDrawContext); |
+ srcDrawContext.swap(dstDrawContext); |
srcRect = dstRect; |
srcTexture = dstTexture; |
SkTSwap(dstTexture, tempTexture); |
@@ -254,7 +254,7 @@ GrTexture* GaussianBlur(GrContext* context, |
convolve_gaussian_2d(dstDrawContext, dstTexture->asRenderTarget(), clip, srcRect, dstRect, |
srcTexture, radiusX, radiusY, sigmaX, sigmaY, cropToRect, srcIRect); |
- srcDrawContext.swap(&dstDrawContext); |
+ srcDrawContext.swap(dstDrawContext); |
srcRect = dstRect; |
srcTexture = dstTexture; |
SkTSwap(dstTexture, tempTexture); |
@@ -286,7 +286,7 @@ GrTexture* GaussianBlur(GrContext* context, |
srcTexture, Gr1DKernelEffect::kX_Direction, radiusX, sigmaX, |
cropToRect); |
- srcDrawContext.swap(&dstDrawContext); |
+ srcDrawContext.swap(dstDrawContext); |
srcTexture = dstTexture; |
srcRect = dstRect; |
SkTSwap(dstTexture, tempTexture); |
@@ -319,7 +319,7 @@ GrTexture* GaussianBlur(GrContext* context, |
dstRect, srcTexture, Gr1DKernelEffect::kY_Direction, radiusY, sigmaY, |
cropToRect); |
- srcDrawContext.swap(&dstDrawContext); |
+ srcDrawContext.swap(dstDrawContext); |
srcTexture = dstTexture; |
srcRect = dstRect; |
SkTSwap(dstTexture, tempTexture); |
@@ -355,7 +355,7 @@ GrTexture* GaussianBlur(GrContext* context, |
dstDrawContext->drawNonAARectToRect(dstTexture->asRenderTarget(), clip, paint, |
SkMatrix::I(), dstRect, srcRect); |
- srcDrawContext.swap(&dstDrawContext); |
+ srcDrawContext.swap(dstDrawContext); |
srcRect = dstRect; |
srcTexture = dstTexture; |
SkTSwap(dstTexture, tempTexture); |