Index: content/common/gpu/client/gl_helper_readback_support.cc |
diff --git a/content/common/gpu/client/gl_helper_readback_support.cc b/content/common/gpu/client/gl_helper_readback_support.cc |
index e773ca90782a6dc684bec38c7afb455e1cfe925c..8e420c9ba89edbd42881bfc0748fdcf7936cd586 100644 |
--- a/content/common/gpu/client/gl_helper_readback_support.cc |
+++ b/content/common/gpu/client/gl_helper_readback_support.cc |
@@ -82,7 +82,7 @@ void GLHelperReadbackSupport::GetAdditionalFormat(GLenum format, |
gl_->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); |
gl_->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); |
gl_->TexImage2D( |
- GL_TEXTURE_2D, 0, format, kTestSize, kTestSize, 0, format, type, NULL); |
+ GL_TEXTURE_2D, 0, format, kTestSize, kTestSize, 0, format, type, nullptr); |
ScopedFramebuffer dst_framebuffer(gl_); |
ScopedFramebufferBinder<GL_FRAMEBUFFER> framebuffer_binder(gl_, |
dst_framebuffer); |