| Index: Source/core/html/canvas/WebGLSharedObject.cpp
|
| diff --git a/Source/core/html/canvas/WebGLSharedObject.cpp b/Source/core/html/canvas/WebGLSharedObject.cpp
|
| index 8bc19749efb87dee34e6852c6db5a6567e826007..100f28d361918db1d095069200be1c417fd690de 100644
|
| --- a/Source/core/html/canvas/WebGLSharedObject.cpp
|
| +++ b/Source/core/html/canvas/WebGLSharedObject.cpp
|
| @@ -48,7 +48,7 @@ void WebGLSharedObject::detachContextGroup()
|
| {
|
| detach();
|
| if (m_contextGroup) {
|
| - deleteObject(0);
|
| + deleteObject(nullptr);
|
| m_contextGroup->removeObject(this);
|
| m_contextGroup = nullptr;
|
| }
|
| @@ -56,7 +56,7 @@ void WebGLSharedObject::detachContextGroup()
|
|
|
| blink::WebGraphicsContext3D* WebGLSharedObject::getAWebGraphicsContext3D() const
|
| {
|
| - return m_contextGroup ? m_contextGroup->getAWebGraphicsContext3D() : 0;
|
| + return m_contextGroup ? m_contextGroup->getAWebGraphicsContext3D() : nullptr;
|
| }
|
|
|
| }
|
|
|