Index: src/gpu/gl/builders/GrGLShaderStringBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLShaderStringBuilder.cpp b/src/gpu/gl/builders/GrGLShaderStringBuilder.cpp |
index b123c035cd63099e0a894058d9099ef9cfa8b1b8..52915b6f89926b0d97639c1bd1df2e55a9fbc062 100644 |
--- a/src/gpu/gl/builders/GrGLShaderStringBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLShaderStringBuilder.cpp |
@@ -54,7 +54,7 @@ GrGLuint GrGLCompileAndAttachShader(const GrGLContext& glCtx, |
GR_GL_CALL(gli, CompileShader(shaderId)); |
// Calling GetShaderiv in Chromium is quite expensive. Assume success in release builds. |
- bool checkCompiled = !glCtx.isChromium(); |
+ bool checkCompiled = kChromium_GrGLDriver != glCtx.driver(); |
#ifdef SK_DEBUG |
checkCompiled = true; |
#endif |