Index: src/gpu/GrBlurUtils.cpp |
diff --git a/src/gpu/GrBlurUtils.cpp b/src/gpu/GrBlurUtils.cpp |
index 1e85b87dcf85b96e79731e5f6eac35250753678b..94c6ea066926712720eb8e23bb69625c6a313bb6 100644 |
--- a/src/gpu/GrBlurUtils.cpp |
+++ b/src/gpu/GrBlurUtils.cpp |
@@ -35,8 +35,8 @@ static bool draw_mask(GrDrawContext* drawContext, |
matrix.setTranslate(-SkIntToScalar(maskRect.fLeft), -SkIntToScalar(maskRect.fTop)); |
matrix.postIDiv(mask->width(), mask->height()); |
- grp->addCoverageFragmentProcessor(GrSimpleTextureEffect::Create(mask, matrix, |
- kDevice_GrCoordSet))->unref(); |
+ grp->addCoverageFragmentProcessor(GrSimpleTextureEffect::Make(mask, matrix, |
+ kDevice_GrCoordSet)); |
SkMatrix inverse; |
if (!viewMatrix.invert(&inverse)) { |