Index: Source/core/svg/SVGGraphicsElement.cpp |
diff --git a/Source/core/svg/SVGGraphicsElement.cpp b/Source/core/svg/SVGGraphicsElement.cpp |
index 2860f6ca0ae376482d086be7c85427a366feeecf..1ce617c4265bba46891a9124dfeadbcdfa08326b 100644 |
--- a/Source/core/svg/SVGGraphicsElement.cpp |
+++ b/Source/core/svg/SVGGraphicsElement.cpp |
@@ -132,7 +132,7 @@ PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGGraphicsElement::getScreenCTMFromJav |
bool SVGGraphicsElement::hasAnimatedLocalTransform() const |
{ |
- LayoutStyle* style = renderer() ? renderer()->style() : 0; |
+ const LayoutStyle* style = renderer() ? renderer()->style() : nullptr; |
// Each of these is used in SVGGraphicsElement::calculateAnimatedLocalTransform to create an animated local transform. |
return (style && style->hasTransform()) || !m_transform->currentValue()->isEmpty() || hasSVGRareData(); |
@@ -141,7 +141,7 @@ bool SVGGraphicsElement::hasAnimatedLocalTransform() const |
AffineTransform SVGGraphicsElement::calculateAnimatedLocalTransform() const |
{ |
AffineTransform matrix; |
- LayoutStyle* style = renderer() ? renderer()->style() : 0; |
+ const LayoutStyle* style = renderer() ? renderer()->style() : nullptr; |
// If CSS property was set, use that, otherwise fallback to attribute (if set). |
if (style && style->hasTransform()) { |