Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 1478279fe26afd6ca30a69ba0060fe3d6f49d6fd..1e6251ba66b007b4d5ba9efdb3c5f809373626f9 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -429,7 +429,7 @@ GrGLProgram* GrGLProgramBuilder::finalize() { |
GL_CALL(LinkProgram(programID)); |
// Calling GetProgramiv is expensive in Chromium. Assume success in release builds. |
- bool checkLinked = !fGpu->ctxInfo().isChromium(); |
+ bool checkLinked = kChromium_GrGLDriver != fGpu->ctxInfo().driver(); |
#ifdef SK_DEBUG |
checkLinked = true; |
#endif |