Index: Source/core/svg/SVGViewSpec.cpp |
diff --git a/Source/core/svg/SVGViewSpec.cpp b/Source/core/svg/SVGViewSpec.cpp |
index 73e42463ef4a4f177996530a5cebf97668f3af68..fc597cf10cbb309d5de52091b40a2cca082dfe79 100644 |
--- a/Source/core/svg/SVGViewSpec.cpp |
+++ b/Source/core/svg/SVGViewSpec.cpp |
@@ -90,10 +90,10 @@ void SVGViewSpec::detachContextElement() |
SVGElement* SVGViewSpec::viewTarget() const |
{ |
if (!m_contextElement) |
- return 0; |
+ return nullptr; |
Element* element = m_contextElement->treeScope().getElementById(AtomicString(m_viewTargetString)); |
if (!element || !element->isSVGElement()) |
- return 0; |
+ return nullptr; |
return toSVGElement(element); |
} |