Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index 9b3354484b9a02ce5151f65f1557744a7dd84002..6dde2ba3d25bcde3bba357831041e04051bf2e83 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -687,7 +687,7 @@ bool GrRectBlurEffect::CreateScanlineTextures(GrContext *context, float sigma, |
verticalPixels, 0); |
if (NULL == *verticalScanline) { |
- (*horizontalScanline)->unref(); |
+ SkSafeSetNull(*horizontalScanline); |
return false; |
} |