Index: Source/core/svg/SVGGraphicsElement.cpp |
diff --git a/Source/core/svg/SVGGraphicsElement.cpp b/Source/core/svg/SVGGraphicsElement.cpp |
index 1f4a7c5d56fe8c8dd35fc7a07d22bcc02d52e321..93f7c6332419c75ebefd8b97b3d6b68df545a327 100644 |
--- a/Source/core/svg/SVGGraphicsElement.cpp |
+++ b/Source/core/svg/SVGGraphicsElement.cpp |
@@ -58,7 +58,7 @@ PassRefPtr<SVGMatrixTearOff> SVGGraphicsElement::getTransformToElement(SVGElemen |
AffineTransform targetCTM = toSVGGraphicsElement(target)->getCTM(AllowStyleUpdate); |
if (!targetCTM.isInvertible()) { |
exceptionState.throwDOMException(InvalidStateError, "The target transformation is not invertable."); |
- return 0; |
+ return nullptr; |
} |
ctm = targetCTM.inverse() * ctm; |
} |