Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / html / canvas / WebGLSharedObject.cpp
index 8bc1974..100f28d 100644 (file)
@@ -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;
 }
 
 }