Index: src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp |
diff --git a/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp b/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp |
index 19eec7e8acea66ea78ddce2d7102c2432a6c10e2..e3d37bd80f1efeeab81da681bab29797e4cd186c 100644 |
--- a/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp |
+++ b/src/gpu/gl/glx/GrGLCreateNativeInterface_glx.cpp |
@@ -13,15 +13,15 @@ |
#include <GL/glx.h> |
static GrGLFuncPtr glx_get(void* ctx, const char name[]) { |
- SkASSERT(NULL == ctx); |
+ SkASSERT(nullptr == ctx); |
SkASSERT(glXGetCurrentContext()); |
return glXGetProcAddress(reinterpret_cast<const GLubyte*>(name)); |
} |
const GrGLInterface* GrGLCreateNativeInterface() { |
- if (NULL == glXGetCurrentContext()) { |
- return NULL; |
+ if (nullptr == glXGetCurrentContext()) { |
+ return nullptr; |
} |
- return GrGLAssembleInterface(NULL, glx_get); |
+ return GrGLAssembleInterface(nullptr, glx_get); |
} |