Index: src/gpu/gl/GrGLShaderVar.h |
diff --git a/src/gpu/gl/GrGLShaderVar.h b/src/gpu/gl/GrGLShaderVar.h |
index 7862abdb26d52d16818a73f5cda0bc8dcac0b698..68c4bbd23a332bc1c2edd7305874d9c4c90df9a6 100644 |
--- a/src/gpu/gl/GrGLShaderVar.h |
+++ b/src/gpu/gl/GrGLShaderVar.h |
@@ -315,7 +315,7 @@ public: |
case kDefault_Precision: |
return ""; |
default: |
- GrCrash("Unexpected precision type."); |
+ SkFAIL("Unexpected precision type."); |
} |
} |
return ""; |
@@ -341,7 +341,7 @@ private: |
case kVaryingOut_TypeModifier: |
return k110_GrGLSLGeneration == gen ? "varying" : "out"; |
default: |
- GrCrash("Unknown shader variable type modifier."); |
+ SkFAIL("Unknown shader variable type modifier."); |
return ""; // suppress warning |
} |
} |