Index: Source/core/html/HTMLCanvasElement.cpp |
diff --git a/Source/core/html/HTMLCanvasElement.cpp b/Source/core/html/HTMLCanvasElement.cpp |
index c07e0d32323a8c55c02cf2d26d30b5c87c7eb79e..8f5cda5ddb7ddf3deae63bb13f2122d46ab7a46c 100644 |
--- a/Source/core/html/HTMLCanvasElement.cpp |
+++ b/Source/core/html/HTMLCanvasElement.cpp |
@@ -395,7 +395,7 @@ String HTMLCanvasElement::toDataURL(const String& mimeType, const double* qualit |
PassRefPtr<ImageData> HTMLCanvasElement::getImageData() |
{ |
if (!m_context || !m_context->is3d()) |
- return 0; |
+ return nullptr; |
return toWebGLRenderingContext(m_context.get())->paintRenderingResultsToImageData(); |
} |