Index: src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
diff --git a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
index ab48718f6db4ebbac4a9c4ddced98051dca10d0e..734c1fea0ce68d9bbe2b9ba265219c01062b8751 100644 |
--- a/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
+++ b/src/gpu/gl/mesa/GrGLCreateMesaInterface.cpp |
@@ -12,14 +12,14 @@ |
#include "osmesa_wrapper.h" |
static GrGLFuncPtr osmesa_get(void* ctx, const char name[]) { |
- SkASSERT(NULL == ctx); |
+ SkASSERT(nullptr == ctx); |
SkASSERT(OSMesaGetCurrentContext()); |
return OSMesaGetProcAddress(name); |
} |
const GrGLInterface* GrGLCreateMesaInterface() { |
- if (NULL == OSMesaGetCurrentContext()) { |
- return NULL; |
+ if (nullptr == OSMesaGetCurrentContext()) { |
+ return nullptr; |
} |
- return GrGLAssembleInterface(NULL, osmesa_get); |
+ return GrGLAssembleInterface(nullptr, osmesa_get); |
} |