Index: src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
index fef3691cd3a80f917540d378ec8bf20d7954ab11..6c92684203408305dcf311be9ef1728b954578eb 100644 |
--- a/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLFragmentShaderBuilder.cpp |
@@ -48,7 +48,7 @@ GrGLFragmentShaderBuilder::DstReadKey GrGLFragmentShaderBuilder::KeyForDstRead( |
if (caps.fbFetchSupport()) { |
return key; |
} |
- SkASSERT(NULL != dstCopy); |
+ SkASSERT(dstCopy); |
if (!caps.textureSwizzleSupport() && GrPixelConfigIsAlphaOnly(dstCopy->config())) { |
// The fact that the config is alpha-only must be considered when generating code. |
key |= kUseAlphaConfig_DstReadKeyBit; |