Index: Source/core/xml/DOMParser.cpp |
diff --git a/Source/core/xml/DOMParser.cpp b/Source/core/xml/DOMParser.cpp |
index d01b7db47abd58708a03a63a7198f43d297ceb66..c454232681cb23628dbeaa7c01cd6614d477aeca 100644 |
--- a/Source/core/xml/DOMParser.cpp |
+++ b/Source/core/xml/DOMParser.cpp |
@@ -37,7 +37,7 @@ PassRefPtr<Document> DOMParser::parseFromString(const String& str, const String& |
&& contentType != "application/xhtml+xml" |
&& contentType != "image/svg+xml") { |
exceptionState.throwDOMException(TypeError, "Unsupported mime-type specified."); |
- return 0; |
+ return nullptr; |
} |
RefPtr<Document> doc = DOMImplementation::createDocument(contentType, 0, KURL(), false); |