| Index: src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| diff --git a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| index fefbb4c12b6ac6a11ec0f3ea5a78894393537eb6..f63471c16a38275606103ed92ebd7b80fad73670 100644
|
| --- a/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| +++ b/src/gpu/gl/mac/SkNativeGLContext_mac.cpp
|
| @@ -27,7 +27,7 @@ SkNativeGLContext::~SkNativeGLContext() {
|
| }
|
|
|
| void SkNativeGLContext::destroyGLContext() {
|
| - if (NULL != fContext) {
|
| + if (fContext) {
|
| CGLReleaseContext(fContext);
|
| }
|
| }
|
|
|