Index: Source/core/html/canvas/WebGLProgram.cpp |
diff --git a/Source/core/html/canvas/WebGLProgram.cpp b/Source/core/html/canvas/WebGLProgram.cpp |
index 9977889aab2a3e7c7cf8acce2c7eadce14449d22..0f317bf6d4de81f0306d3c44823c890c2c41d4ef 100644 |
--- a/Source/core/html/canvas/WebGLProgram.cpp |
+++ b/Source/core/html/canvas/WebGLProgram.cpp |
@@ -56,11 +56,11 @@ void WebGLProgram::deleteObjectImpl(blink::WebGraphicsContext3D* context3d, Plat |
context3d->deleteProgram(obj); |
if (m_vertexShader) { |
m_vertexShader->onDetached(context3d); |
- m_vertexShader = 0; |
+ m_vertexShader = nullptr; |
} |
if (m_fragmentShader) { |
m_fragmentShader->onDetached(context3d); |
- m_fragmentShader = 0; |
+ m_fragmentShader = nullptr; |
} |
} |
@@ -146,12 +146,12 @@ bool WebGLProgram::detachShader(WebGLShader* shader) |
case GL_VERTEX_SHADER: |
if (m_vertexShader != shader) |
return false; |
- m_vertexShader = 0; |
+ m_vertexShader = nullptr; |
return true; |
case GL_FRAGMENT_SHADER: |
if (m_fragmentShader != shader) |
return false; |
- m_fragmentShader = 0; |
+ m_fragmentShader = nullptr; |
return true; |
default: |
return false; |