Index: src/gpu/gl/GrGLSL.cpp |
diff --git a/src/gpu/gl/GrGLSL.cpp b/src/gpu/gl/GrGLSL.cpp |
index 7587fe8d647a1cb9973d51a47883a5459b517335..468b13b138d080f6a3b5ce012e571f59cbb8a59d 100644 |
--- a/src/gpu/gl/GrGLSL.cpp |
+++ b/src/gpu/gl/GrGLSL.cpp |
@@ -34,7 +34,7 @@ bool GrGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation) |
*generation = k110_GrGLSLGeneration; |
return true; |
default: |
- GrCrash("Unknown GL Standard"); |
+ SkFAIL("Unknown GL Standard"); |
return false; |
} |
} |
@@ -64,7 +64,7 @@ const char* GrGetGLSLVersionDecl(const GrGLContextInfo& info) { |
return "#version 150 compatibility\n"; |
} |
default: |
- GrCrash("Unknown GL version."); |
+ SkFAIL("Unknown GL version."); |
return ""; // suppress warning |
} |
} |