Index: Source/core/svg/SVGStopElement.cpp |
diff --git a/Source/core/svg/SVGStopElement.cpp b/Source/core/svg/SVGStopElement.cpp |
index 9c7fe6b0f6aadf21a1681c61c2b15c653fe1b4ff..5c762565dbd26c4a359f827a9656db8b3e6161d7 100644 |
--- a/Source/core/svg/SVGStopElement.cpp |
+++ b/Source/core/svg/SVGStopElement.cpp |
@@ -70,7 +70,7 @@ bool SVGStopElement::rendererIsNeeded(const LayoutStyle&) |
Color SVGStopElement::stopColorIncludingOpacity() const |
{ |
- LayoutStyle* style = renderer() ? renderer()->style() : 0; |
+ const LayoutStyle* style = renderer() ? renderer()->style() : nullptr; |
// FIXME: This check for null style exists to address Bug WK 90814, a rare crash condition in |
// which the renderer or style is null. This entire class is scheduled for removal (Bug WK 86941) |
// and we will tolerate this null check until then. |