Index: src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
diff --git a/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm b/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
index f04229f16e752f061c707ec069f95240028b610b..1bdaf70f1c37c60fb47caecda58ece76a8acbb04 100644 |
--- a/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
+++ b/src/gpu/gl/iOS/SkNativeGLContext_iOS.mm |
@@ -36,7 +36,7 @@ SkNativeGLContext::~SkNativeGLContext() { |
} |
void SkNativeGLContext::destroyGLContext() { |
- if (NULL != fEAGLContext) { |
+ if (fEAGLContext) { |
if ([EAGLContext currentContext] == EAGLCTX) { |
[EAGLContext setCurrentContext:nil]; |
} |