| Index: Source/core/dom/DOMImplementation.cpp
|
| diff --git a/Source/core/dom/DOMImplementation.cpp b/Source/core/dom/DOMImplementation.cpp
|
| index 661d4f522b4bdcfa9ec57fd3b05dddcc0bb4ff0e..e295ae8db09cafa926ae22e5a1a8dd91d9393e3f 100644
|
| --- a/Source/core/dom/DOMImplementation.cpp
|
| +++ b/Source/core/dom/DOMImplementation.cpp
|
| @@ -193,7 +193,7 @@ PassRefPtr<DocumentType> DOMImplementation::createDocumentType(const AtomicStrin
|
| {
|
| AtomicString prefix, localName;
|
| if (!Document::parseQualifiedName(qualifiedName, prefix, localName, exceptionState))
|
| - return 0;
|
| + return nullptr;
|
|
|
| return DocumentType::create(&m_document, qualifiedName, publicId, systemId);
|
| }
|
| @@ -225,7 +225,7 @@ PassRefPtr<XMLDocument> DOMImplementation::createDocument(const AtomicString& na
|
| if (!qualifiedName.isEmpty()) {
|
| documentElement = doc->createElementNS(namespaceURI, qualifiedName, exceptionState);
|
| if (exceptionState.hadException())
|
| - return 0;
|
| + return nullptr;
|
| }
|
|
|
| if (doctype)
|
|
|