Index: src/effects/SkBlurMaskFilter.cpp |
diff --git a/src/effects/SkBlurMaskFilter.cpp b/src/effects/SkBlurMaskFilter.cpp |
index c16cc2d54c2cbc449210406bfb0f78efe4cb1ddc..ae4f756b257a717254c8e73abcfe3fc0b5f585dd 100644 |
--- a/src/effects/SkBlurMaskFilter.cpp |
+++ b/src/effects/SkBlurMaskFilter.cpp |
@@ -777,7 +777,7 @@ bool GrRectBlurEffect::CreateBlurProfileTexture(GrContext *context, float sigma, |
if (NULL == *blurProfileTexture) { |
return false; |
} |
- SkAssertResult(context->addResourceToCache(key, *blurProfileTexture)); |
+ context->addResourceToCache(key, *blurProfileTexture); |
} |
return true; |
@@ -962,7 +962,7 @@ GrFragmentProcessor* GrRRectBlurEffect::Create(GrContext* context, float sigma, |
texDesc.fConfig = kAlpha_8_GrPixelConfig; |
blurNinePatchTexture = context->createTexture(texDesc, true, blurred_mask.fImage, 0); |
- SkAssertResult(context->addResourceToCache(key, blurNinePatchTexture)); |
+ context->addResourceToCache(key, blurNinePatchTexture); |
SkMask::FreeImage(blurred_mask.fImage); |
} |