| Index: Source/core/svg/SVGUseElement.cpp
|
| diff --git a/Source/core/svg/SVGUseElement.cpp b/Source/core/svg/SVGUseElement.cpp
|
| index 502f6a464299c0762d5a4ebdb5c2d40b27435852..5c53dfb07da9ae1ee4497bad25b430206b216104 100644
|
| --- a/Source/core/svg/SVGUseElement.cpp
|
| +++ b/Source/core/svg/SVGUseElement.cpp
|
| @@ -131,11 +131,11 @@ Document* SVGUseElement::externalDocument() const
|
| if (m_resource && m_resource->isLoaded()) {
|
| // Gracefully handle error condition.
|
| if (m_resource->errorOccurred())
|
| - return 0;
|
| + return nullptr;
|
| ASSERT(m_resource->document());
|
| return m_resource->document();
|
| }
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| void transferUseWidthAndHeightIfNeeded(const SVGUseElement& use, SVGElement* shadowElement, const SVGElement& originalElement)
|
| @@ -465,7 +465,7 @@ LayoutObject* SVGUseElement::layoutObjectClipChild() const
|
| return n->layoutObject();
|
| }
|
|
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| bool SVGUseElement::buildShadowTree(SVGElement* target, SVGElement* targetInstance, bool foundUse)
|
|
|