Index: src/effects/SkMorphologyImageFilter.cpp |
diff --git a/src/effects/SkMorphologyImageFilter.cpp b/src/effects/SkMorphologyImageFilter.cpp |
index 2350e6c29ebdf1c37c4a4d3f4eeb00d8562c16b3..8803f8aae39706388f1a6bee6305d9f1c4f028d8 100644 |
--- a/src/effects/SkMorphologyImageFilter.cpp |
+++ b/src/effects/SkMorphologyImageFilter.cpp |
@@ -369,7 +369,7 @@ void GrGLMorphologyEffect::emitCode(GrGLShaderBuilder* builder, |
func = "max"; |
break; |
default: |
- GrCrash("Unexpected type"); |
+ SkFAIL("Unexpected type"); |
func = ""; // suppress warning |
break; |
} |
@@ -410,7 +410,7 @@ void GrGLMorphologyEffect::setData(const GrGLUniformManager& uman, |
imageIncrement[1] = 1.0f / texture.height(); |
break; |
default: |
- GrCrash("Unknown filter direction."); |
+ SkFAIL("Unknown filter direction."); |
} |
uman.set2fv(fImageIncrementUni, 1, imageIncrement); |
} |