Index: src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
diff --git a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
index ab3f0ad2417c91bbf38b6ec065a0a9e09e4b607e..a0c50c740941b05bc500eaee6fa9a5867e8adedb 100644 |
--- a/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
+++ b/src/gpu/gl/mac/GrGLCreateNativeInterface_mac.cpp |
@@ -21,7 +21,7 @@ public: |
} |
~GLLoader() { |
- if (NULL != fLibrary) { |
+ if (fLibrary) { |
dlclose(fLibrary); |
} |
} |
@@ -47,7 +47,7 @@ private: |
}; |
static GrGLFuncPtr mac_get_gl_proc(void* ctx, const char name[]) { |
- SkASSERT(NULL != ctx); |
+ SkASSERT(ctx); |
const GLProcGetter* getter = (const GLProcGetter*) ctx; |
return getter->getProc(name); |
} |