Index: src/gpu/gl/angle/SkANGLEGLContext.cpp |
diff --git a/src/gpu/gl/angle/SkANGLEGLContext.cpp b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
index db34c563ea95627d1f176719295768b206eb889b..8ebdcb661eacc69587feaa06ae25f919c2ea309b 100644 |
--- a/src/gpu/gl/angle/SkANGLEGLContext.cpp |
+++ b/src/gpu/gl/angle/SkANGLEGLContext.cpp |
@@ -80,7 +80,7 @@ SkANGLEGLContext::SkANGLEGLContext() |
EGL_CONTEXT_CLIENT_VERSION, 2, |
EGL_NONE |
}; |
- fContext = eglCreateContext(fDisplay, surfaceConfig, NULL, contextAttribs); |
+ fContext = eglCreateContext(fDisplay, surfaceConfig, nullptr, contextAttribs); |
static const EGLint surfaceAttribs[] = { |
@@ -94,7 +94,7 @@ SkANGLEGLContext::SkANGLEGLContext() |
eglMakeCurrent(fDisplay, fSurface, fSurface, fContext); |
SkAutoTUnref<const GrGLInterface> gl(GrGLCreateANGLEInterface()); |
- if (NULL == gl.get()) { |
+ if (nullptr == gl.get()) { |
SkDebugf("Could not create ANGLE GL interface!\n"); |
this->destroyGLContext(); |
return; |