Index: src/effects/SkMatrixConvolutionImageFilter.cpp |
diff --git a/src/effects/SkMatrixConvolutionImageFilter.cpp b/src/effects/SkMatrixConvolutionImageFilter.cpp |
index b3ce7ecc94e5faa58579439b50381ea8586d5422..bedd6f8bbc60e66260af24341d97fb7879880225 100644 |
--- a/src/effects/SkMatrixConvolutionImageFilter.cpp |
+++ b/src/effects/SkMatrixConvolutionImageFilter.cpp |
@@ -470,8 +470,8 @@ void GrGLMatrixConvolutionEffect::setData(const GrGLUniformManager& uman, |
const GrMatrixConvolutionEffect& conv = drawEffect.castEffect<GrMatrixConvolutionEffect>(); |
GrTexture& texture = *conv.texture(0); |
// the code we generated was for a specific kernel size |
- GrAssert(conv.kernelSize() == fKernelSize); |
- GrAssert(conv.tileMode() == fTileMode); |
+ SkASSERT(conv.kernelSize() == fKernelSize); |
+ SkASSERT(conv.tileMode() == fTileMode); |
float imageIncrement[2]; |
float ySign = texture.origin() == kTopLeft_GrSurfaceOrigin ? 1.0f : -1.0f; |
imageIncrement[0] = 1.0f / texture.width(); |