Chromium Code Reviews| Index: tests/GLProgramsTest.cpp |
| diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp |
| index 6c4aace96f484041e4007f0a076a635c7f3832c6..f3207352dfe6aa8c33f914e528e23bb07276bd49 100644 |
| --- a/tests/GLProgramsTest.cpp |
| +++ b/tests/GLProgramsTest.cpp |
| @@ -173,6 +173,7 @@ bool GrGpuGL::programUnitTest(int maxStages) { |
| this->getContext(), |
| *this->caps(), |
| dummyTextures)); |
| + SkASSERT(effect); |
| int numAttribs = (*effect)->numVertexAttribs(); |
| // If adding this effect would exceed the max attrib count then generate a |