Index: src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp |
diff --git a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp |
index e4f5467842c3c3f3d72e3ddc9975592b5dc86c69..4f26c06afe865786b8a48d312e092004f61716a4 100644 |
--- a/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp |
+++ b/src/gpu/gl/angle/GrGLCreateANGLEInterface.cpp |
@@ -24,15 +24,15 @@ static GrGLFuncPtr angle_get_gl_proc(void* ctx, const char name[]) { |
const GrGLInterface* GrGLCreateANGLEInterface() { |
- static HMODULE ghANGLELib = NULL; |
+ static HMODULE ghANGLELib = nullptr; |
- if (NULL == ghANGLELib) { |
+ if (nullptr == ghANGLELib) { |
// We load the ANGLE library and never let it go |
ghANGLELib = LoadLibrary("libGLESv2.dll"); |
} |
- if (NULL == ghANGLELib) { |
+ if (nullptr == ghANGLELib) { |
// We can't setup the interface correctly w/o the DLL |
- return NULL; |
+ return nullptr; |
} |
return GrGLAssembleGLESInterface(ghANGLELib, angle_get_gl_proc); |