| Index: Source/core/svg/SVGURIReference.cpp
|
| diff --git a/Source/core/svg/SVGURIReference.cpp b/Source/core/svg/SVGURIReference.cpp
|
| index dec5ed14655838c1aeb4504e8b509560533ee97a..382bb24f100171d44e23a4e70604741e69170e10 100644
|
| --- a/Source/core/svg/SVGURIReference.cpp
|
| +++ b/Source/core/svg/SVGURIReference.cpp
|
| @@ -84,13 +84,13 @@ Element* SVGURIReference::targetElementFromIRIString(const String& iri, const Tr
|
| AtomicString id;
|
| KURL url = urlFromIRIStringWithFragmentIdentifier(iri, document, id);
|
| if (url == KURL())
|
| - return 0;
|
| + return nullptr;
|
|
|
| if (fragmentIdentifier)
|
| *fragmentIdentifier = id;
|
|
|
| if (id.isEmpty())
|
| - return 0;
|
| + return nullptr;
|
|
|
| if (externalDocument) {
|
| // Enforce that the referenced url matches the url of the document that we've loaded for it!
|
| @@ -100,7 +100,7 @@ Element* SVGURIReference::targetElementFromIRIString(const String& iri, const Tr
|
|
|
| // Exit early if the referenced url is external, and we have no externalDocument given.
|
| if (isExternalURIReference(iri, document))
|
| - return 0;
|
| + return nullptr;
|
|
|
| return treeScope.getElementById(id);
|
| }
|
|
|