| Index: Source/core/html/ImageDocument.cpp
|
| diff --git a/Source/core/html/ImageDocument.cpp b/Source/core/html/ImageDocument.cpp
|
| index d5d8eb2d399b021118858d7581e75f739f110525..9ab1f83d62f6d53033fd83c2729d8463d9bd8a35 100644
|
| --- a/Source/core/html/ImageDocument.cpp
|
| +++ b/Source/core/html/ImageDocument.cpp
|
| @@ -162,7 +162,7 @@ void ImageDocumentParser::finish()
|
|
|
| ImageDocument::ImageDocument(const DocumentInit& initializer)
|
| : HTMLDocument(initializer, ImageDocumentClass)
|
| - , m_imageElement(0)
|
| + , m_imageElement(nullptr)
|
| , m_imageSizeIsKnown(false)
|
| , m_didShrinkImage(false)
|
| , m_shouldShrinkImage(shouldShrinkToFit())
|
| @@ -365,7 +365,7 @@ bool ImageDocument::shouldShrinkToFit() const
|
|
|
| void ImageDocument::dispose()
|
| {
|
| - m_imageElement = 0;
|
| + m_imageElement = nullptr;
|
| HTMLDocument::dispose();
|
| }
|
|
|
|
|