Index: Source/core/html/canvas/WebGLObject.cpp |
diff --git a/Source/core/html/canvas/WebGLObject.cpp b/Source/core/html/canvas/WebGLObject.cpp |
index 802a4ad3ff189e641eca85554c0fd8bb0c1cf36c..feead3f778f9a7d415d310a8c06bfaddfb90a8f3 100644 |
--- a/Source/core/html/canvas/WebGLObject.cpp |
+++ b/Source/core/html/canvas/WebGLObject.cpp |
@@ -89,7 +89,7 @@ void WebGLObject::detachAndDeleteObject() |
// destructors will always call detachAndDeleteObject() rather |
// than do it based on Oilpan being enabled. |
detach(); |
- deleteObject(0); |
+ deleteObject(nullptr); |
} |
void WebGLObject::onDetached(blink::WebGraphicsContext3D* context3d) |